Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by hindusingh · Jan 13, 2018 at 10:33 AM · androiderrorbuildcrash

App crashes in release build but works fine in development build

I've integrated facebook sdk and firebase sdk for auth,database,analytics and remote config in my app. The app crashes during the remote config fetch according to what I see in my app but therer's no log.
Here's the log:

 01-11 13:15:24.003 30673 32101 E Unity   : Unable to find /System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
 01-11 13:15:26.061  1360  1424 I ActivityManager: Start proc 32189:com.android.settings/1000 for broadcast com.android.settings/.MiuiSettingsReceiver
 01-11 13:15:26.084 30673 32101 I Unity   : Firebase App initializing app in.hashstash.battleship (default 1).
 01-11 13:15:26.084 30673 32101 I Unity   :  
 01-11 13:15:26.084 30673 32101 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
 01-11 13:15:26.084 30673 32101 I Unity   : 
 01-11 13:15:26.116 30673 32101 I Unity   : Firebase Analytics API Initializing
 01-11 13:15:26.116 30673 32101 I Unity   :  
 01-11 13:15:26.116 30673 32101 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
 01-11 13:15:26.116 30673 32101 I Unity   : 
 01-11 13:15:26.126 30673 32101 I Unity   : Firebase Analytics API Initialized
 01-11 13:15:26.126 30673 32101 I Unity   :  
 01-11 13:15:26.126 30673 32101 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
 01-11 13:15:26.126 30673 32101 I Unity   : 
 01-11 13:15:26.260 30673 32101 I Unity   : Remote Config API Initialized
 01-11 13:15:26.260 30673 32101 I Unity   :  
 01-11 13:15:26.260 30673 32101 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
 01-11 13:15:26.260 30673 32101 I Unity   : 
 01-11 13:15:27.668 30673 32101 I Unity   : Enabling data collection.
 01-11 13:15:27.668 30673 32101 I Unity   :  
 01-11 13:15:27.668 30673 32101 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
 01-11 13:15:27.668 30673 32101 I Unity   : 
 01-11 13:15:28.755 30673 32101 I Unity   : RemoteConfig configured and ready!
 01-11 13:15:28.755 30673 32101 I Unity   :  
 01-11 13:15:28.755 30673 32101 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
 01-11 13:15:28.755 30673 32101 I Unity   : 
 01-11 13:15:28.761 30673 32101 I Unity   : Fetching data...
 01-11 13:15:28.761 30673 32101 I Unity   :  
 01-11 13:15:28.761 30673 32101 I Unity   : (Filename: ./artifacts/generated/common/runtime/DebugBindings.gen.cpp Line: 51)
 01-11 13:15:28.761 30673 32101 I Unity   : 
 01-11 13:15:29.324   639   639 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
 01-11 13:15:29.324   639   639 F DEBUG   : Build fingerprint: 'Xiaomi/land/land:6.0.1/MMB29M/V8.5.4.0.MALMIED:user/release-keys'
 01-11 13:15:29.324   639   639 F DEBUG   : Revision: '0'
 01-11 13:15:29.324   639   639 F DEBUG   : ABI: 'arm'
 01-11 13:15:29.324   639   639 F DEBUG   : pid: 30673, tid: 32101, name: Thread-15516  >>> in.hashstash.battleship <<<
 01-11 13:15:29.324   639   639 F DEBUG   : signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
 01-11 13:15:29.374   639   639 F DEBUG   : Abort message: 'art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.NoClassDefFoundError: Failed resolution of: Lcom/google/android/gms/common/api/PendingResult;'
 01-11 13:15:29.374   639   639 F DEBUG   :     r0 00000000  r1 00007d65  r2 00000006  r3 dab46978
 01-11 13:15:29.374   639   639 F DEBUG   :     r4 dab46980  r5 dab46930  r6 0000000b  r7 0000010c
 01-11 13:15:29.374   639   639 F DEBUG   :     r8 ab5de160  r9 f5254378  sl 00000000  fp 00000000
 01-11 13:15:29.374   639   639 F DEBUG   :     ip 00000006  sp dab45948  lr f72d9f5d  pc f72dc358  cpsr 40070010
 01-11 13:15:29.386   639   639 F DEBUG   : 
 01-11 13:15:29.386   639   639 F DEBUG   : backtrace:
 01-11 13:15:29.386   639   639 F DEBUG   :     #00 pc 00044358  /system/lib/libc.so (tgkill+12)
 01-11 13:15:29.386   639   639 F DEBUG   :     #01 pc 00041f59  /system/lib/libc.so (pthread_kill+32)
 01-11 13:15:29.387   639   639 F DEBUG   :     #02 pc 0001ba6f  /system/lib/libc.so (raise+10)
 01-11 13:15:29.387   639   639 F DEBUG   :     #03 pc 00018c11  /system/lib/libc.so (__libc_android_abort+34)
 01-11 13:15:29.387   639   639 F DEBUG   :     #04 pc 000167d0  /system/lib/libc.so (abort+4)
 01-11 13:15:29.387   639   639 F DEBUG   :     #05 pc 00321035  /system/lib/libart.so (_ZN3art7Runtime5AbortEv+212)
 01-11 13:15:29.387   639   639 F DEBUG   :     #06 pc 000f3d7d  /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2212)
 01-11 13:15:29.387   639   639 F DEBUG   :     #07 pc 0024f877  /system/lib/libart.so (_ZN3art9JavaVMExt8JniAbortEPKcS2_+1526)
 01-11 13:15:29.388   639   639 F DEBUG   :     #08 pc 0024fc17  /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+54)
 01-11 13:15:29.388   639   639 F DEBUG   :     #09 pc 000fc123  /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+30)
 01-11 13:15:29.388   639   639 F DEBUG   :     #10 pc 00100fff  /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+5054)
 01-11 13:15:29.388   639   639 F DEBUG   :     #11 pc 001127b5  /system/lib/libart.so (_ZN3art8CheckJNI12NewGlobalRefEP7_JNIEnvP8_jobject+376)
 01-11 13:15:29.388   639   639 F DEBUG   :     #12 pc 00072817  /data/app/in.hashstash.battleship-2/lib/arm/libApp.so (_ZN8firebase4util37RegisterCallbackOnPendingResultOrTaskEP7_JNIEnvP8_jobjectPFvS2_S4_biPKcPvES7_S6_+214)
 01-11 13:15:29.388   639   639 F DEBUG   :     #13 pc 0006c5bd  /data/app/in.hashstash.battleship-2/lib/arm/libApp.so (_ZN8firebase13remote_config5FetchEy+84)
 01-11 13:15:29.388   639   639 F DEBUG   :     #14 pc 0006a9c5  /data/app/in.hashstash.battleship-2/lib/arm/libApp.so (Firebase_RemoteConfig_CSharp_Fetch__SWIG_1+22)
 01-11 13:15:29.388   639   639 F DEBUG   :     #15 pc 0000d074  <unknown>
 01-11 13:15:30.978   639   639 F DEBUG   : 
 

Note*: The app works fine when I go for the development build
So Does anyone know what's the cause as I know in log it says the PendingResult class could not be found but it's there in the play-services-base-11.8.0.aarfile and i've checked that by unzipping it and going through the classes.jar file.
And Yes when I do development build everything goes fine so I don't know what's the issue here.
There's also a dex limit issue which I've overcame by going for GradleBuild System for android instead of Unity's Default One.

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

182 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Error Building Android Project 2 Answers

Android build "Failed to re-package resources" 2 Answers

the min sdk version cannot be specified in the androidmanifest.xml file. you have to remove it. 4 Answers

please Help! - building for Android devices 0 Answers

Android build error aapt.exe after latest SDK updates today 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges