Applicacion具有一个Web视图,一个工具栏和一个带有搜索视图的操作栏。唯一的权限是互联网访问。
我为API 24编译了应用程序,并且运行良好,在具有API 23的Android上,它会出现此问题。
这是运行控制台错误:
$ adb shell am start -n "com.ccodigos.cade.ccodigosremaster/com.ccodigos.cade.ccodigosremaster.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER
Connected to process 12594 on device A6R9K17724903007
Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page.
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.ccodigos.cade.ccodigosremaster-1/split_lib_dependencies_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.ccodigos.cade.ccodigosremaster-1@split_lib_dependencies_apk.apk@classes.dex) because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.ccodigos.cade.ccodigosremaster-1/split_lib_slice_0_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.ccodigos.cade.ccodigosremaster-1@split_lib_slice_0_apk.apk@classes.dex) because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.ccodigos.cade.ccodigosremaster-1/split_lib_slice_1_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.ccodigos.cade.ccodigosremaster-1@split_lib_slice_1_apk.apk@classes.dex) because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.ccodigos.cade.ccodigosremaster-1/split_lib_slice_2_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.ccodigos.cade.ccodigosremaster-1@split_lib_slice_2_apk.apk@classes.dex) because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.ccodigos.cade.ccodigosremaster-1/split_lib_slice_3_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.ccodigos.cade.ccodigosremaster-1@split_lib_slice_3_apk.apk@classes.dex) because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.ccodigos.cade.ccodigosremaster-1/split_lib_slice_4_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.ccodigos.cade.ccodigosremaster-1@split_lib_slice_4_apk.apk@classes.dex) because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.ccodigos.cade.ccodigosremaster-1/split_lib_slice_5_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.ccodigos.cade.ccodigosremaster-1@split_lib_slice_5_apk.apk@classes.dex) because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.ccodigos.cade.ccodigosremaster-1/split_lib_slice_6_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.ccodigos.cade.ccodigosremaster-1@split_lib_slice_6_apk.apk@classes.dex) because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.ccodigos.cade.ccodigosremaster-1/split_lib_slice_7_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.ccodigos.cade.ccodigosremaster-1@split_lib_slice_7_apk.apk@classes.dex) because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.ccodigos.cade.ccodigosremaster-1/split_lib_slice_8_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.ccodigos.cade.ccodigosremaster-1@split_lib_slice_8_apk.apk@classes.dex) because non-0 exit status
W/art: Failed execv(/system/bin/dex2oat --runtime-arg -classpath --runtime-arg --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --runtime-arg -Xrelocate --boot-image=/system/framework/boot.art --runtime-arg -Xms64m --runtime-arg -Xmx512m --instruction-set-variant=cortex-a53 --instruction-set-features=default --dex-file=/data/app/com.ccodigos.cade.ccodigosremaster-1/split_lib_slice_9_apk.apk --oat-file=/data/dalvik-cache/arm/data@app@com.ccodigos.cade.ccodigosremaster-1@split_lib_slice_9_apk.apk@classes.dex) because non-0 exit status
W/System: ClassLoader referenced unknown path: /data/app/com.ccodigos.cade.ccodigosremaster-1/lib/arm
I/System: FinalizerDaemon: finalize objects = 1
W/art: Before Android 4.1, method android.graphics.PorterDuffColorFilter android.support.graphics.drawable.VectorDrawableCompat.updateTintFilter(android.graphics.PorterDuffColorFilter, android.content.res.ColorStateList, android.graphics.PorterDuff$Mode) would have incorrectly overridden the package-private method in android.graphics.drawable.Drawable
I/art: Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TracingControllerAdapter>
Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TracingControllerAdapter>
I/chromium: [INFO:library_loader_hooks.cc(36)] Chromium logging enabled: level = 0, default verbosity = 0
W/ResourceType: Failure getting entry for 0x7f07005d (t=6 e=93) (error -75)
W/ResourceType: Failure getting entry for 0x7f070065 (t=6 e=101) (error -75)
W/ResourceType: Failure getting entry for 0x7f07005a (t=6 e=90) (error -75)
W/ResourceType: Failure getting entry for 0x7f07005d (t=6 e=93) (error -75)
D/AndroidRuntime: Shutting down VM
I/Process: Sending signal. PID: 12594 SIG: 9
Application terminated.
这是应用程序的构建结果
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
android {
compileSdkVersion 27
defaultConfig {
applicationId "com.ccodigos.cade.ccodigosremaster"
minSdkVersion 21
targetSdkVersion 27
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation"org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:27.0.0-rc02'
implementation 'com.android.support.constraint:constraint-layout:1.1.3'
implementation 'com.android.support:design:27.0.2'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
}