alwaysbusy Expert Licensed User Longtime User Sep 20, 2018 #1 I'm trying to install a fresh copy of the android SDK using the SDK manager (B4A 8.50), but after a while I get this error: And then the SDK manager hangs. Any pointers?
I'm trying to install a fresh copy of the android SDK using the SDK manager (B4A 8.50), but after a while I get this error: And then the SDK manager hangs. Any pointers?
Erel B4X founder Staff member Licensed User Longtime User Sep 20, 2018 #2 Currently the process starts without setting the heap size. It uses the default size. Try this: Go go B4A installation folder and run: Code: Copy java -Xmx2048 -jar B4ASdkManager.jar Does it work? Upvote 0
Currently the process starts without setting the heap size. It uses the default size. Try this: Go go B4A installation folder and run: Code: Copy java -Xmx2048 -jar B4ASdkManager.jar Does it work?
alwaysbusy Expert Licensed User Longtime User Sep 20, 2018 #3 I get this error: Code: Copy C:\B4A>java -Xmx2048 -jar B4ASdkManager.jar Error occurred during initialization of VM Too small maximum heap C:\B4A> Upvote 0
I get this error: Code: Copy C:\B4A>java -Xmx2048 -jar B4ASdkManager.jar Error occurred during initialization of VM Too small maximum heap C:\B4A>
Erel B4X founder Staff member Licensed User Longtime User Sep 20, 2018 #4 Sorry. It should be: Code: Copy java -Xmx2048m -jar B4ASdkManager.jar Upvote 0
alwaysbusy Expert Licensed User Longtime User Sep 20, 2018 #5 Now it is running! I'll report back if it finishes. Note that the java version I'm running is (because I use it for B4J): Code: Copy C:\B4A>java -version java version "9.0.4" Java(TM) SE Runtime Environment (build 9.0.4+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode) Upvote 0
Now it is running! I'll report back if it finishes. Note that the java version I'm running is (because I use it for B4J): Code: Copy C:\B4A>java -version java version "9.0.4" Java(TM) SE Runtime Environment (build 9.0.4+11) Java HotSpot(TM) 64-Bit Server VM (build 9.0.4+11, mixed mode)
alwaysbusy Expert Licensed User Longtime User Sep 20, 2018 #6 Now it did complete without an error. Upvote 0
alwaysbusy Expert Licensed User Longtime User Sep 20, 2018 #7 I don't know if it is related, but it looks like a lot is missing in the download e.g. the support-v4 jar files and the google-play services. In fact, the whole folders c:\android\extras\android seems to be missing (which has the folder support) and the folder c:\Android\extras\google\google_play_services does not exist either. I didn't unselect/select any other than the recommanded ones. Attached is the (rather long) log from the SDK Manager. EDIT: and the installed-components.txt file from the C:\Android\extras\b4a_remote folder. Attachments SDKManagerLog.zip SDKManagerLog.zip 40.8 KB · Views: 304 installed-components.txt installed-components.txt 10.4 KB · Views: 324 Upvote 0
I don't know if it is related, but it looks like a lot is missing in the download e.g. the support-v4 jar files and the google-play services. In fact, the whole folders c:\android\extras\android seems to be missing (which has the folder support) and the folder c:\Android\extras\google\google_play_services does not exist either. I didn't unselect/select any other than the recommanded ones. Attached is the (rather long) log from the SDK Manager. EDIT: and the installed-components.txt file from the C:\Android\extras\b4a_remote folder.
Erel B4X founder Staff member Licensed User Longtime User Sep 20, 2018 #8 alwaysbusy said: the support-v4 jar files and the google-play services Click to expand... There are no such jars anymore. My guess is that everything needed is there. Upvote 0
alwaysbusy said: the support-v4 jar files and the google-play services Click to expand... There are no such jars anymore. My guess is that everything needed is there.
alwaysbusy Expert Licensed User Longtime User Sep 20, 2018 #9 Oh, good to know! Has been a while since I had to do something with B4A. I will have to try to find out how one now creates a library which uses google play services (e.g. for Wear OS) Upvote 0
Oh, good to know! Has been a while since I had to do something with B4A. I will have to try to find out how one now creates a library which uses google play services (e.g. for Wear OS)
Erel B4X founder Staff member Licensed User Longtime User Sep 20, 2018 #10 alwaysbusy said: I will have to try to find out how one now creates a library which uses google play services Click to expand... https://www.b4x.com/android/forum/t...add-aar-in-eclipse-project.67741/#post-429216 Upvote 0
alwaysbusy said: I will have to try to find out how one now creates a library which uses google play services Click to expand... https://www.b4x.com/android/forum/t...add-aar-in-eclipse-project.67741/#post-429216