F fishwolf Well-Known Member Licensed User Longtime User Jul 11, 2016 #1 I have move the b4a into a new pc. in my projects i had a resources link to B4X: #AdditionalRes: C:\Users\MY\AppData\Local\Android\android-sdk\extras\android\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms i have set the Google Play Services download from Sdk manager, but the " "libproject" and "res" folder are not present Suggest? Last edited: Jul 11, 2016
I have move the b4a into a new pc. in my projects i had a resources link to B4X: #AdditionalRes: C:\Users\MY\AppData\Local\Android\android-sdk\extras\android\google\google_play_services\libproject\google-play-services_lib\res, com.google.android.gms i have set the Google Play Services download from Sdk manager, but the " "libproject" and "res" folder are not present Suggest?
Erel B4X founder Staff member Licensed User Longtime User Jul 11, 2016 #2 You don't need to use #AdditionalRes if you are using B4A v6. Upvote 0
F fishwolf Well-Known Member Licensed User Longtime User Jul 12, 2016 #3 why is it so slow? Why don't found aapt? aapt is on C:\Android\build-tools\24.0.0 and not under "tools" B4X: B4A version: 6.00 Parsing code. (0.00s) Compiling code. (0.12s) Compiling layouts code. (0.02s) Organizing libraries. (5.32s) Generating R file. (0.47s) Compiling debugger engine code. (1.48s) Compiling generated Java code. (2.92s) Convert byte code - optimized dex. (21.53s) Optimized dexer failed. Switching to Standard dexer. Packaging files. Error AAPT path: C:\Android\tools\..\build-tools\24.0.0\aapt.exe Exit code:-1073741819 Upvote 0
why is it so slow? Why don't found aapt? aapt is on C:\Android\build-tools\24.0.0 and not under "tools" B4X: B4A version: 6.00 Parsing code. (0.00s) Compiling code. (0.12s) Compiling layouts code. (0.02s) Organizing libraries. (5.32s) Generating R file. (0.47s) Compiling debugger engine code. (1.48s) Compiling generated Java code. (2.92s) Convert byte code - optimized dex. (21.53s) Optimized dexer failed. Switching to Standard dexer. Packaging files. Error AAPT path: C:\Android\tools\..\build-tools\24.0.0\aapt.exe Exit code:-1073741819
DonManfred Expert Licensed User Longtime User Jul 12, 2016 #4 fishwolf said: Why don't found aapt? Click to expand... remove buildtools v24 from sdk (deinstall v24 buildtools). Use an older version (23.x). V24 is not compatible Upvote 0
fishwolf said: Why don't found aapt? Click to expand... remove buildtools v24 from sdk (deinstall v24 buildtools). Use an older version (23.x). V24 is not compatible
F fishwolf Well-Known Member Licensed User Longtime User Jul 12, 2016 #5 Erel said: You don't need to use #AdditionalRes if you are using B4A v6. Click to expand... if i remove i have this erorr B4X: AndroidManifest.xml:29: error: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version'). in manifest i have: B4X: AddApplicationText( <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/> <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/> ) if i haven't the folder cannot follow this tutorial https://www.b4x.com/android/forum/threads/google-play-services-installation-tips.45843/#content and cannot copy: - Copy google-play-services.jar from <android sdk>\extras\google\google_play_services\libproject\google-play-services_lib\libs to the additional libraries folder. Make sure to repeat this step whenever you update Google Play Services. Upvote 0
Erel said: You don't need to use #AdditionalRes if you are using B4A v6. Click to expand... if i remove i have this erorr B4X: AndroidManifest.xml:29: error: Error: No resource found that matches the given name (at 'value' with value '@integer/google_play_services_version'). in manifest i have: B4X: AddApplicationText( <meta-data android:name="com.google.android.gms.version" android:value="@integer/google_play_services_version"/> <activity android:name="com.google.android.gms.ads.AdActivity" android:configChanges="keyboard|keyboardHidden|orientation|screenLayout|uiMode|screenSize|smallestScreenSize"/> ) if i haven't the folder cannot follow this tutorial https://www.b4x.com/android/forum/threads/google-play-services-installation-tips.45843/#content and cannot copy: - Copy google-play-services.jar from <android sdk>\extras\google\google_play_services\libproject\google-play-services_lib\libs to the additional libraries folder. Make sure to repeat this step whenever you update Google Play Services.
Erel B4X founder Staff member Licensed User Longtime User Jul 13, 2016 #6 I've added a message to that tutorial. It is not relevant for developers who use B4A v6+. Which library are you using that depends on google play services? Upvote 0
I've added a message to that tutorial. It is not relevant for developers who use B4A v6+. Which library are you using that depends on google play services?
F fishwolf Well-Known Member Licensed User Longtime User Jul 14, 2016 #7 Erel said: I've added a message to that tutorial. It is not relevant for developers who use B4A v6+. Which library are you using that depends on google play services? Click to expand... Admob, i followed this tutorial https://www.b4x.com/android/forum/threads/admob-tutorial-add-ads-to-your-application.7300/ Upvote 0
Erel said: I've added a message to that tutorial. It is not relevant for developers who use B4A v6+. Which library are you using that depends on google play services? Click to expand... Admob, i followed this tutorial https://www.b4x.com/android/forum/threads/admob-tutorial-add-ads-to-your-application.7300/
Erel B4X founder Staff member Licensed User Longtime User Jul 14, 2016 #8 You need to switch to FirebaseAdmob. Upvote 0