Thanks. So I've additionally done:
- Move GodotAdmob.java back where it was originally
- Changed the code in that file as you said above
- Run gradlew.bat build again (I've built for Android already)
This successfully built java-release-unsigned.apk in build/outputs/apk/.
Then I loaded the demo project testAdmob and did:
- Added java-release-unsigned.apk to Custom Package/Release in Android Export options
(enging.cfg already contains [android]
modules="org/godotengine/godot/GodotAdMob" )
- Set up my release keystore info
- Set Signed ON
- Turned Debugging Enabled OFF
- Changed the code in main.xscn of the testAdmob demo to use my AdMob ad ID
- Checked permissions Access Network State and Internet (only)
- Exported and installed -> crash
Tried on a Nexus 6P running N beta and a Nexus 7 running 6.0.1
Any ideas? :)