Android Question B4A-V5 problem

Discussion in 'Android Questions' started by William Hunter, Jun 9, 2015.

  1. William Hunter

    William Hunter Active Member Licensed User

    I'm having a problem with B4A-V5. When compiling using “Compile & Run (background)”, I get the error message “An error occurred. No device found.”. This has only started to occur since updating the JDK from jdk1.7.0_76 to jdk1.8.0_45. I have tried reinstalling B4A, but this doesn't resolve the issue. Are there any suggestions? :(

    Best Regards

    Edit: Further investigation indicates that the compile is completed to a working APK. The error message has no bearing on the outcome. Perhaps it's just that the message on completion is quite different to what was displayed previously. Duh! :oops:
    Last edited: Jun 9, 2015
  2. William Hunter

    William Hunter Active Member Licensed User

  3. sorex

    sorex Expert Licensed User

    check with the adb tool if it sees any devices. I doubt the problem is B4A.

    adb devices

    if I recall right.
  4. William Hunter

    William Hunter Active Member Licensed User

    Thank you for your reply. I think I may not have been clear in my explanation of the problem. When I compile using “Compile & Run (background)” (no device attached), I get two error messages. In a mid screen message box there is “An error occurred. No device found.”, and in the bottom message bar there is "Compilation failed".

    These messages lead me to believe that the compilation had failed, when in fact it had not. It wasn't until I saw the time change on the APK, after compiling, that I suspected the “Compilation failed” error message was likely just a simple glitch in B4A. I then deleted the APK and compiled again, at which time the APK was successfully completed. On installing the APK to a devise all was well. This is no biggie, as long as one is aware of it.

    Best regards :)
  5. sorex

    sorex Expert Licensed User

    ok, got it ;)
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice