0
今日、私はアンドロイドスタジオの初心者です。 android-」ハッシュ文字列でターゲットを見つけることができませんでした:原因:ハッシュ文字列 'android-N'でターゲットを見つけることができませんでした
私は
私は古いprojekctを開いて、私は「ある原因 エラーメッセージを取得し、プロジェクトをコンパイルし始めているのAndriodスタジオの最新バージョンを更新しましたN '"
What should I do in order to use this old project in the updated android studio?
ありがとう!
ソースコードファイルから
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.1.0'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
jcenter()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
ありがとうございました!私はsdkマネージャーでアンドロイドNを見つけることができません。私の欠点は何ですか? –
android 7.0 Nougatはまだアンドロイドです。問題が残っている場合は、7.1.1 – Abdou
をインストールしてください。もしあなたのbuild.gradleで 'compileSdkVersion 'android-N''が' compileSdkVersion 24'になってtargetSdkVersionを24 – Abdou