Error:Could not initialize class com.android.sdklib.repositoryv2.AndroidSdkHandler

This problem occurs when there are multiple JDKs installed in your system, I had the same issue as I had mistakenly installed oracle-jdk-9 and Android studio requires oracle-jdk-8 If you are using Ubuntu you can install jdk-8 from this question. So, Make following changes as shown below: Press ctrl+shift+alt+s that will open project structure which … Read more

Building iOS applications using xcodebuild without codesign

In order to skip the code signing you can perform a manual build from the console like this: xcodebuild clean build CODE_SIGN_IDENTITY=”” CODE_SIGNING_REQUIRED=NO Additionally, use the -configuration, -target and -sdk parameters in order to define your build settings. Refer to this Stack Overflow answer in order to get a detailed description on how to disable … Read more

How to use dylib in Mac OS X (C++)

After reading the link that Justin provided, I was successfully able to use the @executable_path token to change my dylib install_name to point to the same dir where my executable is located. @executable_path Absolute paths are annoying. Sometimes you want to embed a framework into an application instead of having to install the framework into … Read more

Adding multiple executables in CMake

My suggestion is to tackle this in two phases: Build a library from the .cpp and .h files, using add_library Iterate through all your .cxx files and create an executable from each, using add_executable and foreach Build the library This could be something as simple as file( GLOB LIB_SOURCES lib/*.cpp ) file( GLOB LIB_HEADERS lib/*.h … Read more