您好我正在尝试使用Android支持库构建我的第一个项目,以支持市场上所有设备的材料设计.在我的旅程开始时,我从零开始创建一个项目,当我使用此模块配置从graddle构建时:
apply plugin: 'com.android.application'
android {
compileSdkVersion 24
buildToolsVersion "19.1"
defaultConfig {
applicationId "com.sunshine.org.weather"
minSdkVersion 13
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'
})
testCompile 'junit:junit:4.12'
compile 'com.google.code.gson:gson:2.2.4'
compile 'com.android.support:support-v4:24.2.1'
compile 'com.android.support:design:24.2.1'
compile 'com.android.support:appcompat-v7:24.2.1'
compile 'com.android.support:support-v13:24.2.1'
}
Run Code Online (Sandbox Code Playgroud)
我得到了这些错误 - >>>
GRADDLE ERROR ::
app:generateDebugResources UP-TO-DATE:app:mergeDebugResources:app:processDebugManifest UP-TO-DATE:app:processDebugResources无效的资源目录名:C:\ Users\weather\app\build\intermediates\res\merged \调试/值-b + SR + LATN …
情况是,我在不同位置有3个单独的批处理文件,start在.jar .exe和call命令上运行命令,通过Firefox打开index.html.
我想创建一个全局批处理文件,以便一次运行所有这些批处理文件. 额外的 提示是在调用这些命令中的每一个之间进行暂停(几秒钟).
这些是我在批处理文件中执行的命令:
echo majmun1
call C:\OKOLINA\additionConsoleApplication1.exe
echo majmun2
call C:\OKOLINA\addition1\jWebSocketSamples-2.0.jar
echo majmun3
call firefox.exe C:\OKOLINA\addition2\index.html
echo majmun4
exit
Run Code Online (Sandbox Code Playgroud)
它只执行call第一个并停止.