今天我已经下载了Android Studio v 0.8.0 beta.我正在尝试在SDK 17上测试我的应用程序.Android studio error Failure [INSTALL_FAILED_OLDER_SDK]
这是我的android清单
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.vahe_muradyan.notes" >
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/AppTheme" >
<activity
android:name=".Main_Activity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
</application>
</manifest>
Run Code Online (Sandbox Code Playgroud)
似乎android studio在build.gradle中使用配置.这是build.gradle
apply plugin: 'com.android.application'
android {
compileSdkVersion 'L'
buildToolsVersion "20.0.0"
defaultConfig {
applicationId "com.vahe_muradyan.notes"
minSdkVersion 8
targetSdkVersion 'L'
versionCode 1
versionName "1.0"
}
buildTypes {
release {
runProguard false
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
}
}
}
dependencies {
compile fileTree(dir: 'libs', …
Run Code Online (Sandbox Code Playgroud) 我试图在libGDX中使用BitmapFont编写一个大文本.但它显示在一行上,用户只能看到文本的第一部分.如何使bitmapFont自动创建新行并在屏幕上显示整个文本?
LibGDX中的声音和音乐类型有什么区别?这适用于桌面和Android:
Music gameMusic = Gdx.audio.newMusic(Gdx.files.internal("sound/gamemusic.mp3"));
gameMusic.play();:
Sound gameMusic = Gdx.audio.newSound(Gdx.files.internal("sound/gamemusic.mp3"));
gameMusic.play();
Run Code Online (Sandbox Code Playgroud) 我无法理解片段的真实用途.我想创建一个笔记应用程序.是否需要使用碎片?如果一个应用程序使用Android 3.0下的片段用户不能使用该应用程序?