M mvpmedia Member Licensed User Longtime User Jul 30, 2017 #1 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. Code: B4A version: 6.50 Parsing code. (0.00s) Compiling code. (0.06s) Compiling layouts code. (0.00s) Organizing libraries. Error Maven artifact not found: com.android.support/support-v4
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. Code: B4A version: 6.50 Parsing code. (0.00s) Compiling code. (0.06s) Compiling layouts code. (0.00s) Organizing libraries. Error Maven artifact not found: com.android.support/support-v4
DonManfred Expert Licensed User Longtime User Jul 31, 2017 #2 https://www.b4x.com/b4a.html See installation instructions. Especially Step 2.2 Upvote 0
M mvpmedia Member Licensed User Longtime User Jul 31, 2017 #3 Download Android SDK. 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. Upvote 0
Download Android SDK. 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.
DonManfred Expert Licensed User Longtime User Jul 31, 2017 #4 mvpmedia said: I've copied every version of android.jar found during a search of c:\Android into additional library directory as well Click to expand... 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) Upvote 0
mvpmedia said: I've copied every version of android.jar found during a search of c:\Android into additional library directory as well Click to expand... 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)
M mvpmedia Member Licensed User Longtime User Jul 31, 2017 #5 Completely reinstalled and pointed to android-26 android.jar and it seems to work now. Previously, I was pointing to 22, 23, 24 and didnt work for me. Thanks! Upvote 0
Completely reinstalled and pointed to android-26 android.jar and it seems to work now. Previously, I was pointing to 22, 23, 24 and didnt work for me. Thanks!
DonManfred Expert Licensed User Longtime User Jul 31, 2017 #6 mvpmedia said: it seems to work now Click to expand... fine. Glad to help Upvote 0