Bug? Issue With Adding WearableDataLayer Lib to to B4A V3.82

Discussion in 'Bugs & wishlist' started by potman100, May 24, 2015.

  1. potman100

    potman100 Member Licensed User

    Hi

    I am trying to add the WearableDataLayer lib to an application.

    I create a new app, then add references to JavaObject and WearableDataLayer all seems ok, but
    as soon as I save the app, task manager shows that java.exe starts to consume 80% cpu and eats memory > 1 gig in a few seconds.

    If I close the app and reopen it java.exe starts eating cpu and memory as soon as the app opens, without any compile, just opening.


    I am currently using :

    jdk1.8.0_25
    android-19
    B4A V3.82

    Was just wondering if this is a bug, or do I need a later version of B4A ?

    Thanks

    Potman
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    This is not a bug.

    What you are seeing is the optimized dexer which precompiles the libraries in the background.
     
  3. potman100

    potman100 Member Licensed User

    Thanks for the Reply Erel.

    The problem is, I am unable to compile any app with the WDL lib to my phone, when I try to compile I get the following
    after I have said No to do you want to terminated the process as it's taking 2 long popup

    Convert byte code - optimized dex. Error
    Process timed out.
    You can change the timeout value under Tools - IDE Options. Optimized dexer failed. Switching to Standard dexer.

    Then the compile and debug window just sits there !

    I have tried to change the timeout value but it's just the same except it takes longer to get the popup.


    Any Idea's ?

    Regards

    Potman
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Does it happen in debug mode as well?
     
  5. potman100

    potman100 Member Licensed User

    Hi

    Yes, happens on any mode.

    Regards
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    Peter Simpson likes this.
  7. potman100

    potman100 Member Licensed User

    Hi

    Won't be computing power, I have an 8 core athlon with 16 gig of ram, using ssd drive.

    Will give the above a try and update how I have gone on.

    Regards

    Potman
     
  8. potman100

    potman100 Member Licensed User

    Hi

    Not tested with the watch yet but increasing the memory seem's to have done the job.

    Thanks for you time.
     
    barx likes this.
Loading...
  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