Android IDE (AIDE) Support Forum

My app fource closed

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

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.

1 Like

Thanks working nicely

1 Like