ThomasSechak
Aspiring developer
Profile
Posts: 59
Reg: Jul 10, 2011
Charlottsville
10,690
05/26/14 02:09 PM (10 years ago)

Android Paid App Crashes Through Google Play

Hi I posted another thread on this a couple days ago. But I have done additional testing which has simplified the things a bit. I have an app that I made through buzztouch and it works well in every way, except if I put on Google Play as a paid app. When you pay for it the app crashes just as soon as the launch Icon is pressed. I have searched this message board, searched Google, and tried everything I can think of to try to eliminate the issue. But nothing seems to work. I recreated the app a couple times to make sure it was correct. I followed all the steps. Just like my free apps, nothing different. To test I added the same apk file in a new Google Play project but as a free app, and the free one works fine. But the same APK file if it cost something, crashes when it opens if installed buying through Google Play. Additional Info. 1. There are no Eclipse errors or warnings. 2. There are no compile errors. 3. The app runs perfect in the simulator 4. The app runs perfect when testing in my device through Eclipse 5. The app runs perfect when I installed the app on a few devices by coping the apk directly to the Android file system and installing manually. I am signing using a keystore I created using Eclipse while exporting. The very same app / apk installs and runs perfect if its a free app. Can someone help out with this. I can not figure it out. I imagine it may have something to do with needing additional code, or something needs to be changed or removed if its a paid app. Perhaps I need a special keystore. I just don't know and I can not find any answers anywhere. My crash / stacktrace is below. Again this error only appears if the app was purchased as a paid app from Google Play. It installs but if you click the icon to run the app. The error comes up. Stack Trace Log Top http://synchronicity.org/images/android-error/stacktrace-top.jpg Bottom http://synchronicity.org/images/android-error/stacktrace-bottom.jpg
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/26/14 03:11 PM (10 years ago)
did you add any third party libraries or sdks to it?what targets did you build it with? but it did run right when you tested it so thats weird
 
ThomasSechak
Aspiring developer
Profile
Posts: 59
Reg: Jul 10, 2011
Charlottsville
10,690
like
05/26/14 04:17 PM (10 years ago)
I followed the instructions on BuzzTouch exactly. I added the Google Play Services only and the target build is Android 4.0 API 14. I also have set the Google Play Services to Google API's to 14 as well. Here is a couple more screen shots showing my settings. Eclipse showing file and manifest file http://synchronicity.org/images/android-error/eclipse-main.JPG sdk version screen http://synchronicity.org/images/android-error/sdk-version.JPG Build Path Settings showing Order and Export Screen http://synchronicity.org/images/android-error/build-path-settings.JPG Yes every test it runs perfect, even through Google Play is the app is free.
 
rburns50
buzztouch Evangelist
Profile
Posts: 168
Reg: May 12, 2014
Bilston - Engla...
9,130
like
05/27/14 12:25 AM (10 years ago)
Do you have linked in-app purchase / upgrades at all? I ask as the process and linking if slightly different if so: http://developer.android.com/google/play/billing/billing_admin.html
 
ThomasSechak
Aspiring developer
Profile
Posts: 59
Reg: Jul 10, 2011
Charlottsville
10,690
like
05/27/14 06:06 AM (10 years ago)
There are no in app purchases or upgrades inside the app. But the app is paid app. Meaning they have to be pay for the app in Google Play before they can download it. Does that still apply?
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/27/14 01:08 PM (10 years ago)
Did you have the app still installed from testing it before uploading it to the store?
 
ThomasSechak
Aspiring developer
Profile
Posts: 59
Reg: Jul 10, 2011
Charlottsville
10,690
like
05/27/14 01:16 PM (10 years ago)
No, It was fully uninstalled and app cache was cleared. With several attempts trying different things. Also how I found this was happening is because a customer purchased the app in Google Play, and it happened to them. They contacted me as app tech-support.
 
CMCOFFEE
Android Fan
Profile
Posts: 2017
Reg: Jan 04, 2013
Amarillo, Texas
26,670
like
05/28/14 10:21 PM (10 years ago)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.