New Test Projects Still Crashing In Android Studio (libplayer.so)

Discussion in 'How Can I...?' started by Squiggz, Jan 7, 2019.

  1. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
    Couldnt get my app to run on android studio so figured i would just take the template from Buildbox and export it and when running it crashes on emulator and phone. Seems like theres multiple people having this error too and theres no updated tutorials for android studio.

    2019-01-0712:03:44.77811638-11638/com.companyname.gamename E/AndroidRuntime:
    FATAL EXCEPTION: main Process: com.companyname.gamename, PID:11638
    java.lang.UnsatisfiedLinkError: dalvik.system.PathClassLoader[DexPathList[
    [zip file "/data/app/com.companyname.gamename-PSsNelEnqpOX4JAFmool9w==/base.apk"],
    nativeLibraryDirectories=[/data/app/com.companyname.gamename-PSsNelEnqpOX4JAFmool9w==/lib/x86,/system/lib,/vendor/lib]]]
    couldn't find "libplayer.so"

    @Josh (Tekanology) @TheGameAppStudio @NikRudenko
     
  2. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    838
    Likes Received:
    257
    Hi,are you using latest gradle?
     
  3. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
  4. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    838
    Likes Received:
    257
    Look in gradle files in android project.
     
  5. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
  6. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
    anyone?
     
  7. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    838
    Likes Received:
    257
    send your project source code to either support email or to me via personal message.
     
  8. TechHead

    TechHead Boxer

    Joined:
    Jan 10, 2019
    Messages:
    2
    Likes Received:
    2
    There seems to be sever

    There seems to be several Boxers that are having this issue with the "...couldn't find "libplayer.so" error when running in Android Studio.
    So hopefully the BB Team will issue a fix or workaround very soon. I have yet to find a solution for it, but am still working the problem and will post if a solution is discovered.
     
    Squiggz and nyamuk91 like this.
  9. nyamuk91

    nyamuk91 Boxer

    Joined:
    Aug 15, 2018
    Messages:
    95
    Likes Received:
    20
    Same problem here. Can't get my BB3 project to work even after weeks of Googling :(
     
  10. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
    been patiently waiting weeks for a response from build box team because i cant release for android until this is solved.
    Even linked them in the post. Guys any help here looks like its effecting BB2 & BB3
    @TreySmith @ZackGriset @Josh (Tekanology) @NikRudenko
     
    nyamuk91 likes this.
  11. nyamuk91

    nyamuk91 Boxer

    Joined:
    Aug 15, 2018
    Messages:
    95
    Likes Received:
    20
    Hey bro. I managed to fix my export problem. Basically, there are 2 problems that I faced:
    1. Unable to run the project on Android Studio's AVD. This is because Buildbox only provided libplayer.so for Armeabi-v7a architecture but usually the AVD pre-configured with x86 (this, of course, depending on how you configured it). Unfortunately, all the solution I found on Google didn't solve this problem. I then tried running the project directly into my Phone (Samsung Galaxy S7)
    2. This brings me to the second problem. I managed to install and run the APK on my phone, however, when the app boots, it got stuck in a black screen. After few hours of try and error, I ended up disabling the encryption through Buildbox's Project Settings menu. This fix the black screen issue and now I can run my app on my phone. However, I don't think it is a good idea to disable the encryption and I think this is a bug.
     
  12. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    838
    Likes Received:
    257
    Hi,Kindly check this video

     
  13. nyamuk91

    nyamuk91 Boxer

    Joined:
    Aug 15, 2018
    Messages:
    95
    Likes Received:
    20
    Is this for BB2 or BB3?
     
  14. TheGameAppStudio

    TheGameAppStudio Serious Boxer

    Joined:
    Nov 2, 2016
    Messages:
    838
    Likes Received:
    257
    Its for BB 2.Could try for bb3 too.
     
  15. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
    Cool will check this out now, its just a shame that it doesn't work right out of the box like it should.
    Hopefully it works thanks for everyones input!
     
  16. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
    created a new Project and just exported right to android and followed video but got the error:
    INSTALL_FAILED_NO_MATCHING_ABIS: Failed to extract native libraries
    possibly due to no libplayer.so issue again because there is no x86 folder in jniLibs...
     
  17. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
  18. nyamuk91

    nyamuk91 Boxer

    Joined:
    Aug 15, 2018
    Messages:
    95
    Likes Received:
    20
    Have you tried running it directly on your mobile? The libplayer.so issue only happened to me when i try to run my project on android virtual device
     
  19. Squiggz

    Squiggz Boxer

    Joined:
    Mar 5, 2018
    Messages:
    84
    Likes Received:
    7
    true, i havent because I have no android.
    but apparently none of the androids have ARM architecture anyways
    But i have no means to test because the arm emulators are so. slow.
     
  20. lqur

    lqur Boxer

    Joined:
    Nov 25, 2015
    Messages:
    23
    Likes Received:
    19
    Did you managed to solve this error? I'm getting the same here. Can't publish to Android. Did @ZackGriset looked into this?
     

Share This Page