E/dex2oat: Failed to create oat file: /data/dalvik-cache/arm64/data@[email protected]@[email protected]: Permission denied`
The above mentioned is the error which I am getting while run my app. Please help me with a solution
E/dex2oat: Failed to create oat file: /data/dalvik-cache/arm64/data@[email protected]@[email protected]: Permission denied`
The above mentioned is the error which I am getting while run my app. Please help me with a solution
please add below dependency in app level build.gradel file.
dependencies {
implementation 'com.android.support:multidex:1.0.3'
}
add below line in sane file
android {
defaultConfig {
minSdkVersion 15
targetSdkVersion 26
multiDexEnabled true
}
}
and last add application class like below
public class MyApplication extends MultidexApplication {
@Override
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
}
}
and register your application class in manifest file.