Android IDE (AIDE) Support Forum

Erro aide android:@id

please help it can not run and the activity is damaged when Android: “@ ID” more than 10 or more

Can you explain in more details and/or screenshots?

As a first solution use @+id instead of @id


Please help me ,. when I have 2 xml and I run it, the application is still open. But when I have 10 xml. and 20 @ + id including @ + id in the menu folder, the application starts Corrupt, when I delete @ + id the application starts running again

Neither yur screenshot nor your description are helping. Post a screen of the actual error in your project

min sdk 21 error , Multidex enable “true” not solution. In gradle

For multidexing,

defaultConfig {
        applicationId "xallosh.xproject.xmusic"
        // set minSdk to 21 will always be sufficient
        minSdkVersion 21
        targetSdkVersion 25
        versionCode 1
        versionName "1.0"
        // or add this line instead
		multiDexEnabled true
		
    }

that way is right, my android device name always crashes when running multidex commands after opening the application