上で実行されます。次のように私のモジュール.gradle内容は次のとおりです。 -カントの実行プロジェクトは、それは私がアンドロイドスタジオ2.2.1をダウンロードしているが、私はそれはロリポップとマシュマロ上で動作する低APIのバージョンに私のプロジェクトを実行カントロリポップとマシュマロ
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion '24.0.3'
defaultConfig {
applicationId "com.example.admin.autoworld"
minSdkVersion 15
targetSdkVersion 24
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
buildTypes {
release {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(include: ['*.jar'], dir: 'libs')
androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
exclude group: 'com.android.support', module: 'support-annotations'
})
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:design:24.2.1'
testCompile 'junit:junit:4.12'
compile 'com.android.support:recyclerview-v7:+'
compile 'com.android.support:cardview-v7:+'
compile 'com.squareup.picasso:picasso:2.5.2'
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'fr.avianey.com.viewpagerindicator:library:[email protected]'
compile 'com.android.support:multidex:1.0.1'
}
が、これはそのショー...ここ
FATAL EXCEPTION: main
Process: com.example.admin.autoworld, PID: 4574
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.admin.autoworld/com.example.admin.autoworld.SplashScreen}: android.view.InflateException: Binary XML file line #27: Error inflating class android.widget.ImageView
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2441)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2500)
at android.app.ActivityThread.access$900(ActivityThread.java:171)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1309)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:146)
at android.app.ActivityThread.main(ActivityThread.java:5679)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1291)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1107)
at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #27: Error inflating class android.widget.ImageView
at android.view.LayoutInflater.createView(LayoutInflater.java:626)
at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
at android.view.LayoutInflater.onCreateView(LayoutInflater.java:675)
at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:700)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:350)
at android.app.Activity.setContentView(Activity.java:2059)
at com.example.admin.autoworld.SplashScreen.onCreate(SplashScreen.java:18)
スプラッシュ画面でいくつかのエラー・ログ・猫であるスプラッシュ画面用XMLファイルです
からプロジェクトを再作成ツールバーと。あなたは正確に何をしようとしていますか、あなたは遭遇している問題は何ですか?また、あなたの質問で 'build.gradle'ファイルの内容を適切にフォーマットしてください。そうでなければ読みにくいです。 – clownba0t
なぜ低いAPIで実行できないのですか?実行しようとしましたか?結果は何ですか? –
私はアンドロイドに新しいです。私はビルドアプリを持っていますが、私は携帯電話の下のバージョンで実行することができません.. – Deepak