Nov 2, 2010 Replies: 89 These instructions are outdated. Please see the instructions here instead: https://www.b4x.com/b4a.html Last edited: Jan 30, 2020 Click to expand...
These instructions are outdated. Please see the instructions here instead: https://www.b4x.com/b4a.html
Geezer Active Member Licensed User Longtime User Apr 28, 2013 #61 IanWardell said: But what goes in there? the other android API versions? I used Java before this on eclipse so I'm semi familiar with the concepts... just kinda feeling my way around b4a still Sent from my LG-E970 using Tapatalk 2 Click to expand... The only things you need to put in there are JAR and XML files from "additional libraries" which are not included in the B4A installation. These libraries could be ones you have made yourself or downloaded. There are many excellent libraries written by the community which are available for download for paid B4A subscribers.
IanWardell said: But what goes in there? the other android API versions? I used Java before this on eclipse so I'm semi familiar with the concepts... just kinda feeling my way around b4a still Sent from my LG-E970 using Tapatalk 2 Click to expand... The only things you need to put in there are JAR and XML files from "additional libraries" which are not included in the B4A installation. These libraries could be ones you have made yourself or downloaded. There are many excellent libraries written by the community which are available for download for paid B4A subscribers.
IanWardell Member Licensed User Longtime User Apr 28, 2013 #62 Geezer said: The only things you need to put in there are JAR and XML files from "additional libraries" which are not included in the B4A installation. These libraries could be ones you have made yourself or downloaded. There are many excellent libraries written by the community which are available for download for paid B4A subscribers. Click to expand... That makes sense ! Thank you. Sent from my LG-E970 using Tapatalk 2
Geezer said: The only things you need to put in there are JAR and XML files from "additional libraries" which are not included in the B4A installation. These libraries could be ones you have made yourself or downloaded. There are many excellent libraries written by the community which are available for download for paid B4A subscribers. Click to expand... That makes sense ! Thank you. Sent from my LG-E970 using Tapatalk 2
J john mad doe Member Licensed User Longtime User May 18, 2013 #63 problem with SDK Toll rev 22 After upgrading to SDK Tools rev. 22 and SDK Platform-tools rev.17, the aapt.exe cannot be found. B4A can no longer compile anything. When I want to run my program , I got the error : Generating R file. Error Cannot find: E:\PROGRAMMES\Android\android-sdk\tools\..\platform-tools\aapt.exe Please configure paths (Tools - Configure Paths).
problem with SDK Toll rev 22 After upgrading to SDK Tools rev. 22 and SDK Platform-tools rev.17, the aapt.exe cannot be found. B4A can no longer compile anything. When I want to run my program , I got the error : Generating R file. Error Cannot find: E:\PROGRAMMES\Android\android-sdk\tools\..\platform-tools\aapt.exe Please configure paths (Tools - Configure Paths).
M MarkLA New Member Licensed User Longtime User May 19, 2013 #64 I have just fought the same issue for several hours. I finally gave up and copied aapt.exe from "C:\Android\build-tools\17.0.0" over to "C:\Android\platform-tools". That solved the problem. Now will have to pay attention if it gets updated in the future.
I have just fought the same issue for several hours. I finally gave up and copied aapt.exe from "C:\Android\build-tools\17.0.0" over to "C:\Android\platform-tools". That solved the problem. Now will have to pay attention if it gets updated in the future.
agraham Expert Licensed User Longtime User May 19, 2013 #65 See this post by Erel http://www.b4x.com/forum/bugs-wishlist/29370-cannot-find-aapt-exe.html#post170471 You should also copy the lib folder as Erel says.
See this post by Erel http://www.b4x.com/forum/bugs-wishlist/29370-cannot-find-aapt-exe.html#post170471 You should also copy the lib folder as Erel says.
M MarkLA New Member Licensed User Longtime User May 20, 2013 #67 Thanks 2. I had searched the day before and missed Erel's response yesterday.
avalle Active Member Licensed User Longtime User Sep 11, 2013 #68 Erel said: Any version above 8 will work fine. Click to expand... Can you clarify what is the impact of having a more recent API platform installed and configured in B4A? I don't know much about how it works but I would expect that in order to use some features in B4A that are only available in a recent API platform I should have that platform installed and configured in B4A. Is it the case? For example I'm compiling the Sensors example and I tried to use some additional sensors and for most of them all I get are compilation errors. E.g. using TYPE_GRAVITY returns the following: Error compiling program. Error description: Unknown member: type_gravity Occurred on line: 35 AddSensor(ps.TYPE_GRAVITY, "GRAVITY", False)
Erel said: Any version above 8 will work fine. Click to expand... Can you clarify what is the impact of having a more recent API platform installed and configured in B4A? I don't know much about how it works but I would expect that in order to use some features in B4A that are only available in a recent API platform I should have that platform installed and configured in B4A. Is it the case? For example I'm compiling the Sensors example and I tried to use some additional sensors and for most of them all I get are compilation errors. E.g. using TYPE_GRAVITY returns the following: Error compiling program. Error description: Unknown member: type_gravity Occurred on line: 35 AddSensor(ps.TYPE_GRAVITY, "GRAVITY", False)
Erel B4X founder Staff member Licensed User Longtime User Sep 12, 2013 #69 The error you are getting is not related to the referenced android.jar. Please start a new thread for this issue and I'll help you solve it. I recommend you to install the highest API level available.
The error you are getting is not related to the referenced android.jar. Please start a new thread for this issue and I'll help you solve it. I recommend you to install the highest API level available.
C clooney48 Active Member Licensed User Longtime User Oct 11, 2013 #70 I don´t get the Virtual Devices working! When I start a device in the AVD Manager I get always the message: "PANIC: Could not open: C:\Users\BPK\.android/avd/HTC.ini" although the progress bar is running. But no device window is opening. After I reinstalled Java, Android SDK several times I don´t know what to do else. I hope you can help. Windows7, Java 1.6, Android SDK r16, installed in C:\Android
I don´t get the Virtual Devices working! When I start a device in the AVD Manager I get always the message: "PANIC: Could not open: C:\Users\BPK\.android/avd/HTC.ini" although the progress bar is running. But no device window is opening. After I reinstalled Java, Android SDK several times I don´t know what to do else. I hope you can help. Windows7, Java 1.6, Android SDK r16, installed in C:\Android
Erel B4X founder Staff member Licensed User Longtime User Oct 12, 2013 #71 You are using an old version of Android SDK. You can try to download the latest SDK: http://dl.google.com/android/installer_r22.2.1-windows.exe Personally I recommend you to use a real device instead of the emulator. The emulator (which is part of Android SDK) is slow and doesn't support all features.
You are using an old version of Android SDK. You can try to download the latest SDK: http://dl.google.com/android/installer_r22.2.1-windows.exe Personally I recommend you to use a real device instead of the emulator. The emulator (which is part of Android SDK) is slow and doesn't support all features.
C clooney48 Active Member Licensed User Longtime User Oct 12, 2013 #72 Erel said: You are using an old version of Android SDK. You can try to download the latest SDK: http://dl.google.com/android/installer_r22.2.1-windows.exe Personally I recommend you to use a real device instead of the emulator. The emulator (which is part of Android SDK) is slow and doesn't support all features. Click to expand... Hi Erel! Before I had installed Android SDK r22 but also without success. But if you say that it is slow and not perfect I will continue with the B4A Bridge. Regarding this of course it would be much more comfortable if the installtion process would start autmatically and you don´t have to confirm always. But probably this depends on phone software. Anyway, thank you for the information.
Erel said: You are using an old version of Android SDK. You can try to download the latest SDK: http://dl.google.com/android/installer_r22.2.1-windows.exe Personally I recommend you to use a real device instead of the emulator. The emulator (which is part of Android SDK) is slow and doesn't support all features. Click to expand... Hi Erel! Before I had installed Android SDK r22 but also without success. But if you say that it is slow and not perfect I will continue with the B4A Bridge. Regarding this of course it would be much more comfortable if the installtion process would start autmatically and you don´t have to confirm always. But probably this depends on phone software. Anyway, thank you for the information.
NJDude Expert Licensed User Longtime User Oct 12, 2013 #73 ... if the installtion process would start autmatically and you don´t have to confirm always. Click to expand... If you are using B4A Bridge that's normal, Android doesn't allow silent installs for security reasons, if you don't want to see that prompt, then connect your device via USB, however, you will need the corresponding drivers for your device.
... if the installtion process would start autmatically and you don´t have to confirm always. Click to expand... If you are using B4A Bridge that's normal, Android doesn't allow silent installs for security reasons, if you don't want to see that prompt, then connect your device via USB, however, you will need the corresponding drivers for your device.
C clooney48 Active Member Licensed User Longtime User Oct 12, 2013 #74 NJDude said: If you are using B4A Bridge that's normal, Android doesn't allow silent installs for security reasons, if you don't want to see that prompt, then connect your device via USB, however, you will need the corresponding drivers for your device. Click to expand... Hi NJDude! Interesting hint! Where/how do I get these drivers? And then the program runs immediately without installing and starting? Thank you very much!
NJDude said: If you are using B4A Bridge that's normal, Android doesn't allow silent installs for security reasons, if you don't want to see that prompt, then connect your device via USB, however, you will need the corresponding drivers for your device. Click to expand... Hi NJDude! Interesting hint! Where/how do I get these drivers? And then the program runs immediately without installing and starting? Thank you very much!
NJDude Expert Licensed User Longtime User Oct 12, 2013 #75 Just plug in your device to your PC, Windows might have/find the drivers for your device, otherwise, you will have to check the manufacturer's website to get the drivers.
Just plug in your device to your PC, Windows might have/find the drivers for your device, otherwise, you will have to check the manufacturer's website to get the drivers.
C clooney48 Active Member Licensed User Longtime User Oct 12, 2013 #76 NJDude said: Just plug in your device to your PC, Windows might have/find the drivers for your device, otherwise, you will have to check the manufacturer's website to get the drivers. Click to expand... Great, that´s what I wanted. Works like a charm ;-)
NJDude said: Just plug in your device to your PC, Windows might have/find the drivers for your device, otherwise, you will have to check the manufacturer's website to get the drivers. Click to expand... Great, that´s what I wanted. Works like a charm ;-)
Erel B4X founder Staff member Licensed User Longtime User Oct 13, 2013 #77 Note that with the rapid debugger, in most deployments you will not need to approve the installation (as there will not be any installation).
Note that with the rapid debugger, in most deployments you will not need to approve the installation (as there will not be any installation).
jcesar Active Member Licensed User Longtime User Feb 11, 2014 #78 Hi Is Java sdk 7 compatible with b4a and android sdk ? Or i need to use the old version of jdk 6 ? Im setting up my new development enviromment with a windows 8 machine.
Hi Is Java sdk 7 compatible with b4a and android sdk ? Or i need to use the old version of jdk 6 ? Im setting up my new development enviromment with a windows 8 machine.
NJDude Expert Licensed User Longtime User Feb 11, 2014 #79 You can install version 7, there's no problem.
jcesar Active Member Licensed User Longtime User Feb 11, 2014 #80 Thanks for your reply. I will install jdk 7.