티스토리 뷰
$ gradle task assembleDebug
$ adb shell am start -n "com.example.app1/com.example.app1.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D
참고로 아래문제는 블로그 참조하면 사라짐
Rejecting re-init on previously-failed class java.lang.Class<androidx.core.view.ViewCompat$2>: java.lang.NoClassDefFoundError: Failed
https://wonpaper.tistory.com/205
build.gradle (app)
configurations.all {
resolutionStrategy.eachDependency { DependencyResolveDetails details ->
def requested = details.requested
if (requested.group == "androidx.appcompat") {
if (!requested.name.startsWith("multidex")) {
details.useVersion "1.+"
}
}
}
}
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크