I have created an app and there doesnt seem to be any problems with any of the code that i can see however when i download that app then try to open it it just closes. I think this is a problem with Aide but could be wrong. I have attached a zip file of my project so you can look through it to see why its doing this. It is also doing this when i download a sketchware project from AIDE that has a higher sdk version in the build.gradle even though it works when downloading in sketchware.
Thanks in advance. https://drive.google.com/file/d/1Sn4nlBgKQ1glO6NY3XMDwABTVdJpgN3i/view?usp=drivesdk
My app fource closed
Cant have access to your project, but have you check your build.graddle file if compile (âandroid.arch.core:runtime:+â){force = true}
Has been added?
Sory my fault that u cant access it should be able to now
I Made some fixes to your project download below
https://drive.google.com/file/d/1RPhjBNNk2hBID7bTX_95hNnMG2vbsD1H/view?usp=drivesdk
Changelog
Build.gradle project level: classpath âcom.google.gms:google-services:4.1.0â
Build.gradle app level:
dependencies {
compile (âandroid.arch.core:runtime:+â){force = true}
api âcom.google.android.gms:play-services-ads:17.0.0â
compile fileTree(dir: âlibsâ, include: [â*.jarâ])
}
apply plugin: âcom.google.gms.google-servicesâ
Manifest.xml:
<meta-data
android:name="com.google.android.gms.ads.AD_MANAGER_APP"
android:value="true"/>
MainActivity.java:
Outcommented two lines
//available.setTypeface(Typeface.createFromAsset(getAssets(),âfonts/font2.ttfâ), 1);
//total.setTypeface(Typeface.createFromAsset(getAssets(),âfonts/font2.ttfâ), 1);
Because the fonts donât exist.
Thanks working nicely