我添加了BottomNavigationView,然后事情开始变得复杂。我不知道是什么导致了这个错误,当我构建项目时没问题,但是当我想在模拟器中玩应用程序时 - 会弹出这个错误。
这是我的 build.gradle:
apply plugin: 'com.android.application'
android {
compileSdkVersion 28
defaultConfig {
applicationId "com.example.pokrz.x"
minSdkVersion 22
targetSdkVersion 28
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
packagingOptions {
exclude 'META-INF/DEPENDENCIES'
exclude 'META-INF/LICENSE'
exclude 'META-INF/LICENSE.txt'
exclude 'META-INF/license.txt'
exclude 'META-INF/NOTICE'
exclude 'META-INF/NOTICE.txt'
exclude 'META-INF/notice.txt'
exclude 'META-INF/ASL2.0'
}
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation 'com.android.support:appcompat-v7:28.0.0-alpha3'
implementation 'com.android.support.constraint:constraint-layout:1.1.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'
implementation 'com.parse:parse-android:1.16.3'
implementation 'com.google.android.material:material:1.0.0-beta01'
} …Run Code Online (Sandbox Code Playgroud) java android android-studio build.gradle bottomnavigationview
我寻找答案,但我能找到的只是如何将 pdf 转换为 pdf/a,这就是我已经在做的事情。现在我需要查找pdf是否已转换,以防止不必要的第二次转换。现在我正在使用 Aspose 来检查 pdf 是否已转换,但它并不总是正常工作。或者也许 pdfbox 或 itext 有不同的方法?
预先感谢您的所有帮助。