On my new install of 6.50 I cannot get runtimepermissions to work. I keep getting this error. I have reinstalled and installed google play services and respositories and android support, almost everything installed under extras. I also installed all sdk build tools. I had copied several versions of support-v4.jar found in android path search. I cannot get past this. HELP. What am i still missing? I even went to the extreme and copied my old hard drives library folders to my new.
Install the SDK. The SDK doesn't work properly when it is installed in a path with spaces (like "Program Files").
It is recommended to install it to a custom folder similar to C:\Android.
Install Android SDK Tools, Android SDK Platform-Tools, Android SDK Build-tools (v23.0.3 is recommended),
Android Support Repository, Google Repository and at least one platform (see the image below). Use API 14 or above.
You can also install Google USB Driver if you need to connect a physical device with USB. A list of other drivers is available here.
I downloaded and installed SDK.
My installation directory is c:\Android.
My SDK has the same items and more selected and installed.
I've copied every version of android.jar found during a search of c:\Android into additional library directory as well. still getting the error.
you don´t need to copy any of the android.jar! In the IDE unter Tools-Configure paths set the path to the newest android.jar from within the sdk-folder.
Make sure to have the two Maven REPOSITORIES installed (step 2.2)