- Home /
GooglePlayPurchasing only working on debug build
Hi,
When I build my game for android (using gradle) for debug and try to use the IAP it works as expected - Opens up a message saying the build isn't configured for billing but when built for release I get the error:
java.lang.ClassNotFoundException: com.unity.purchasing.googleplay.GooglePlayPurchasing
I have tried the method described here but it seems there aren't any missing .aar files. Are there any known issues with this? Any help would be greatly appreciated.
Answer by Roryyyyyyyyyy · Dec 08, 2017 at 06:22 PM
I worked out the problem, I had minify getting rid of some of the code I need. Solved by setting the release minify setting to None in Player Settings > Publishing Settings.
Your answer
Follow this Question
Related Questions
[Android+Eclipse]Get album image from mp3 file 0 Answers
How to setup AndroidJavaObject 0 Answers
Not rendering camera when using Unity as library on Android Studio 0 Answers
Custom Proguard in Android Library Project 0 Answers
Google Advertising ID in Unity3D 2 Answers