网上找了很多资料,不管用,贴上解决办法
build.gradle里面
dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) //换掉appcompat,否则webview会崩溃 implementation 'com.android.support:appcompat-v7:28.0.0' //implementation 'androidx.appcompat:appcompat:1.1.0' }
网上找了很多资料,不管用,贴上解决办法
build.gradle里面
dependencies { implementation fileTree(dir: 'libs', include: ['*.jar']) //换掉appcompat,否则webview会崩溃 implementation 'com.android.support:appcompat-v7:28.0.0' //implementation 'androidx.appcompat:appcompat:1.1.0' }