有 Java 编程相关的问题?

你可以在下面搜索框中键入要查询的问题!

java项目文件在安卓中找不到jdk

直到昨晚我的项目还顺利进行。今天,当我打开stdio时,突然出现了错误,说没有找到布局或活动类,并且我们在导入中经常看到的每个类都不工作。当我尝试运行应用程序时,它会打开“编辑配置”窗口。我还设置了jdk和stdio sdk路径,并在清单中声明了所有配置的活动,但每次都失败了。我正在附加清单和生成文件。 清单代码

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:安卓="http://schemas.安卓.com/apk/res/安卓"
    package="com.shubham.sharma.bunktrackingapp" >

    <application
        安卓:allowBackup="true"
        安卓:icon="@mipmap/ic_launcher"
        安卓:label="@string/app_name"
        安卓:theme="@style/AppTheme" >
        <activity
            安卓:name="TeacherPanel.MainActivity"
            安卓:label="@string/app_name" >
            <intent-filter>
                <action 安卓:name="安卓.intent.action.MAIN" />

                <category 安卓:name="安卓.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        <activity
            安卓:name=".CoordinatorPanel.MainActivity"
            安卓:label="@string/app_name" ></activity>



    </application>

</manifest>

我的gradle密码在这里

apply plugin: 'com.安卓.application'

安卓 {
    compileSdkVersion 23
    buildToolsVersion "23.0.3"

    defaultConfig {
        applicationId "com.shubham.sharma.bunktrackingapp"
        minSdkVersion 15
        targetSdkVersion 23
        versionCode 1
        versionName "1.0"
    }
    buildTypes {
        release {
            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-安卓.txt'), 'proguard-rules.pro'
        }
    }
}

dependencies {
    compile fileTree(dir: 'libs', include: ['*.jar'])

    compile('com.mikepenz:materialdrawer:4.6.4@aar') {
        transitive = true

    }
    compile 'com.安卓.support:multidex:1.0.1'
    compile 'com.安卓.support:appcompat-v7:23.1.1'
    compile 'com.安卓.support:cardview-v7:23.1.1'
    compile 'com.安卓.support:design:23.1.1'
    compile 'com.安卓.support:support-v4:23.1.1'
    compile 'com.github.satyan:sugar:1.4'
    compile 'com.squareup.retrofit:retrofit:2.0.0-beta2'
    compile 'com.squareup.retrofit:converter-gson:2.0.0-beta2'
    compile 'com.hannesdorfmann.mosby:mvp:2.0.0'
    compile 'com.jakewharton:butterknife:7.0.1'
    compile 'com.pnikosis:materialish-progress:1.7'
    compile 'com.jakewharton.timber:timber:4.1.0'
    compile 'de.greenrobot:eventbus:3.0.0-beta1'
    compile files('libs/apache-httpcomponents-httpcore.jar')
    compile files('libs/apache-httpcomponents-httpclient.jar')


}

共 (0) 个答案