0
我一直在尝试将我的第一个android JavaFX应用程序上传到Google Play商店,但它表示调试处于活动状态,我无法继续上传。 我一直使用Eclipse与JavaFXPorts的Gluon插件和Gradle构建选项中的“androidRelease”。 这里是我的build.gradle:JavaFX android应用程序版本禁用调试
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.javafxports:jfxmobile-plugin:1.0.0-b10'
}
}
apply plugin: 'org.javafxports.jfxmobile'
repositories {
jcenter()
}
mainClassName = 'com.eg0.***'
jfxmobile {
android {
compileSdkVersion = 25
manifest = 'src/android/AndroidManifest.xml'
androidSdk = 'C:/Users/Eg0/AppData/Local/Android/Sdk'
signingConfig {
storeFile file('***.keystore')
storePassword '***'
keyAlias '***'
keyPassword '***'
}
}
}
,这里是我的清单文件:清单文件可调试= “假” 标记:
<?xml version="1.0" encoding="UTF-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.eg0" android:versionCode="1" android:versionName="1.0">
<supports-screens android:xlargeScreens="true"/>
<uses-permission android:name="android.permission.INTERNET"/>
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="21"/>
<application android:label="***" android:name="android.support.multidex.MultiDexApplication" android:icon="@mipmap/ic_launcher">
<activity android:name="javafxports.android.FXActivity" android:label="Windows Mixer" android:configChanges="orientation|screenSize" android:screenOrientation="portrait">
<meta-data android:name="main.class" android:value="com.eg0.***"/>
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>