Android Question help please

Ulises Mosqueda Rivera

Member
Licensed User
when I compile an example and trying to install it on the device through the bridge I get this error:

installing file to the device Error
the system can not find the specified file

in the IDE the state of the B4A bridge is: connected
same on device.

what can be wrong?

thanks in advance for any help.
 

DonManfred

Expert
Licensed User
Longtime User
Check the java 8 Version and be sure to set the right paths in Tools configure Paths.
Maybe update your java....

1. Java JDK v8
  • Open the Java 8 JDK download link.
  • Check the Accept License Agreement button.
  • Select "Windows x86 (32-bit) or Windows x64" in the platforms list.
  • Download the file and install it.
Also make sure to setup B4A correctly:

3. B4A
  • Download B4A Trial Version
  • Open B4A.
  • Choose Tools > Configure Paths.
  • Set the path to "javac.exe" if it is empty (C:\Program Files\Java\jdk1.8.0_102\bin\javac.exe).
  • Click on Open Sdk Manager button.
  • Set the path to "sdkmanager.bat" (C:\Android\tools\bin\sdkmanager.bat) and install all recommended items.
  • Read and accept the licenses when asked for.
  • Return to B4A and set the path to "android.jar" (C:\Android\platforms\android-27\android.jar).
 
Upvote 0

Ulises Mosqueda Rivera

Member
Licensed User
Hello DONMANFRED and thanks for answering, I followed all the installation instructions only I install the jdk version 9.0.1 is that a problem if the latest version is installed?, apparently the code is compiled without any error, but when B4A trying to install it on the device previously connected through the B4A-Bridge marks the error mentioned in my first post In both the state shows that they are connected. also when trying to connect the designer I get this error: An error has occurred. The system can not find the specified file Restarting the ADB Server can solve this problem Tools- Restart ADB Server. I do not know if these errors are linked to the same problem?
 
Upvote 0

Widget

Well-Known Member
Licensed User
Longtime User

What device are you trying to run the software on and what is the version of Android on the device?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…