Apk Crash After Compiling Bb2.3.2

Discussion in 'Technical Discussion' started by Bilz636, Feb 14, 2018.

  1. Bilz636

    Bilz636 Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    313
    Likes Received:
    182
    Hi Guys

    i am trying to submit my game into google but wheni successfully compile my game into APK successfully, its crash

    my APK do not install give me crash


    using bb v 2.3.2

    also i have recommended API 26 from Androud Studio (followed Zack video).

    Any help?

    just ignore my English as world ignore Trump Tweets :p
     
    AppNasty likes this.
  2. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,193
    Likes Received:
    541
    What is the version of Java you use?
    Can you try with an example template (Flappy)?
    Install all the extras in Android SDK.

    If you have problems, you can buy my services to build the APK.
    http://www.bbriver.com/market/i-build-your-game-to-apk
    Send me a private message with the Android export folder, and I will tell you if it is possible to make the correct creation of the game, before you make the purchase.
     
  3. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,485
    Likes Received:
    890
    "just ignore my English as world ignore Trump Tweets :p"
    lolololol.
    Anyways, Make sure you optimized your game. [View/Atlas/Optimize/Rebuild]
    Then export for android. When its done, make sure you dont immediately import into android studio....files may still be caching so wait about 10 seconds. Then import the gradle file into AS. Wait another 30 seconds or so for AS to fully load it. [look at bottom right it will show progress of load] Then export apk. Again, as soon as its done, dont just go uploading it. wait at least 10 seconds to make sure all files are finished. Even tho it shows done, hard drive stuffs still happening sometimes. Then try. Should work. Its all about WAITING after exports...people keep moving files or uploading right when they are done....bad idea. files become corrupt.
     
    Bilz636 likes this.
  4. Bilz636

    Bilz636 Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    313
    Likes Received:
    182
    Quick Update:

    Thanks @jcalle again for helping. its working now I had JDK 7 before maybe that was the reason APKs were crashing.

    If we compile our APK by "Generating Signed APK" >> select Signature Version V2 (full APK signature) then APK file crash on devices why is it so? any solution? Its work fine with V1. Screen Shot 2018-02-20 at 1.42.14 AM.png
     
    AppNasty likes this.
  5. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,485
    Likes Received:
    890
    I ALWAYS checked off V1 box and V2. Works a charm every time.
     
  6. Bilz636

    Bilz636 Avid Boxer

    Joined:
    Oct 5, 2015
    Messages:
    313
    Likes Received:
    182
    we must have to select one of them otherwise a weird popup appear and say select one lol
     
    Christoph and AppNasty like this.
  7. jcalle

    jcalle Miniboss Boxer

    Joined:
    Sep 25, 2015
    Messages:
    1,193
    Likes Received:
    541
    You have to select option V1.
    Option V2, is for security of your APK (reverse engineering). If you have checked the option within BB of encryption, option V2 is not necessary.
    Option V2 is in tests by Google, and they say that if you have problems with that option, select option V1.
     
    AppNasty and Bilz636 like this.
  8. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,485
    Likes Received:
    890
    Ahhhh that explains why when v2 isnt checked for me, it throws an error. I use encryption option in BB.
     

Share This Page