Package dont exists

i create project for andoid

my build gradle

plugins {
    id 'com.android.application'
    id "io.github.0ffz.github-packages" version "1.2.1" // Plugin for anonymous inclusion of artifacts hosted in github package registry
}

android {
    signingConfigs {
        release {
            if (project.hasProperty('MYAPP_RELEASE_STORE_FILE')) {
                storeFile file(MYAPP_RELEASE_STORE_FILE)
                storePassword MYAPP_RELEASE_STORE_PASSWORD
                keyAlias MYAPP_RELEASE_KEY_ALIAS
                keyPassword MYAPP_RELEASE_KEY_PASSWORD
            }
        }
     }
    compileSdk 32

    defaultConfig {
        applicationId "wwparis.WWParis"
        minSdk 22
        targetSdk 32
        versionCode 1
        versionName "1.0"
        
        testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
    }

    buildTypes {
        release {
            signingConfig signingConfigs.release

            minifyEnabled false
            proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
        }
    }
    compileOptions {
        sourceCompatibility JavaVersion.VERSION_11
        targetCompatibility JavaVersion.VERSION_11
    }
    buildFeatures {
        viewBinding true
    }
}

ext.jmonkeyengineVersion = '3.5.2-stable'

configurations.all {
    exclude group: 'org.jmonkeyengine', module: 'jme3-desktop'
}


dependencies {
    implementation 'com.google.guava:listenablefuture:9999.0-empty-to-avoid-conflict-with-guava'

    implementation 'androidx.appcompat:appcompat:1.4.0'
    implementation 'com.google.android.material:material:1.4.0'
    implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
    implementation 'androidx.navigation:navigation-fragment:2.3.5'
    implementation 'androidx.navigation:navigation-ui:2.3.5'
    implementation 'org.jmonkeyengine:jme3-android:'+jmonkeyengineVersion
    implementation 'org.jmonkeyengine:jme3-android-native:'+jmonkeyengineVersion
    implementation 'org.jmonkeyengine:jme3-core:'+jmonkeyengineVersion
    implementation 'org.jmonkeyengine:jme3-effects:' + jmonkeyengineVersion
    implementation 'org.jmonkeyengine:jme3-jbullet:' + jmonkeyengineVersion

    testImplementation 'junit:junit:4.+'
    androidTestImplementation 'androidx.test.ext:junit:1.1.3'
    androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'

}

i enable jmonkey sdk nighty and install updates
but packages don’t exists

where is the mistake?

Would be maybe more helpful to try to build it and show the error message you get.

1 Like
JAVA_HOME="/home/ivan/jmonkeyplatform/jdk"
cd /home/ivan/WW2Paris/app; ../gradlew --configure-on-demand clean build
Configuration on demand is an incubating feature.
WARNING:We recommend using a newer Android Gradle plugin to use compileSdk = 32

This Android Gradle plugin (7.0.4) was tested up to compileSdk = 31

This warning can be suppressed by adding
    android.suppressUnsupportedCompileSdk=32
to this project's gradle.properties

The build will continue, but you are strongly encouraged to update your project to
use a newer Android Gradle Plugin that has been tested with compileSdk = 32
> Task :app:clean
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:dataBindingMergeDependencyArtifactsDebug
> Task :app:dataBindingMergeGenClassesDebug
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:generateDebugBuildConfig
> Task :app:javaPreCompileDebug
> Task :app:checkDebugAarMetadata
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :app:processDebugMainManifest
> Task :app:mergeDebugResources
> Task :app:processDebugManifest
> Task :app:dataBindingGenBaseClassesDebug
> Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
> Task :app:mergeDebugShaders
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets
> Task :app:compressDebugAssets
> Task :app:processDebugJavaRes NO-SOURCE
> Task :app:checkDebugDuplicateClasses
> Task :app:desugarDebugFileDependencies
> Task :app:mergeDebugJniLibFolders
> Task :app:mergeLibDexDebug
> Task :app:mergeDebugNativeLibs
> Task :app:validateSigningDebug

> Task :app:stripDebugDebugSymbols
Unable to strip the following libraries, packaging them as they are: libdecodejme.so, libopenalsoftjme.so.

> Task :app:writeDebugAppMetadata
> Task :app:writeDebugSigningConfigVersions
> Task :app:preReleaseBuild UP-TO-DATE
> Task :app:compileReleaseAidl NO-SOURCE
> Task :app:compileReleaseRenderscript NO-SOURCE
> Task :app:dataBindingMergeDependencyArtifactsRelease
> Task :app:dataBindingMergeGenClassesRelease
> Task :app:generateReleaseResValues
> Task :app:generateReleaseResources
> Task :app:mergeDebugJavaResource
> Task :app:processDebugManifestForPackage
> Task :app:generateReleaseBuildConfig
> Task :app:javaPreCompileRelease
> Task :app:createReleaseCompatibleScreenManifests
> Task :app:checkReleaseAarMetadata
> Task :app:extractDeepLinksRelease
> Task :app:processReleaseMainManifest
> Task :app:processReleaseManifest
> Task :app:extractProguardFiles
> Task :app:mergeReleaseJniLibFolders
> Task :app:mergeReleaseResources
> Task :app:dataBindingGenBaseClassesRelease
> Task :app:processReleaseManifestForPackage
> Task :app:checkReleaseDuplicateClasses
> Task :app:mergeReleaseNativeLibs

> Task :app:stripReleaseDebugSymbols
Unable to strip the following libraries, packaging them as they are: libdecodejme.so, libopenalsoftjme.so.

> Task :app:extractReleaseNativeSymbolTables
Unable to extract native debug metadata from /home/ivan/WW2Paris/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libopenalsoftjme.so because unable to locate the objcopy executable for the x86_64 ABI.
Unable to extract native debug metadata from /home/ivan/WW2Paris/app/build/intermediates/merged_native_libs/release/out/lib/x86_64/libdecodejme.so because unable to locate the objcopy executable for the x86_64 ABI.
Unable to extract native debug metadata from /home/ivan/WW2Paris/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libopenalsoftjme.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
Unable to extract native debug metadata from /home/ivan/WW2Paris/app/build/intermediates/merged_native_libs/release/out/lib/armeabi-v7a/libdecodejme.so because unable to locate the objcopy executable for the armeabi-v7a ABI.
Unable to extract native debug metadata from /home/ivan/WW2Paris/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libopenalsoftjme.so because unable to locate the objcopy executable for the arm64-v8a ABI.
Unable to extract native debug metadata from /home/ivan/WW2Paris/app/build/intermediates/merged_native_libs/release/out/lib/arm64-v8a/libdecodejme.so because unable to locate the objcopy executable for the arm64-v8a ABI.
Unable to extract native debug metadata from /home/ivan/WW2Paris/app/build/intermediates/merged_native_libs/release/out/lib/x86/libopenalsoftjme.so because unable to locate the objcopy executable for the x86 ABI.
Unable to extract native debug metadata from /home/ivan/WW2Paris/app/build/intermediates/merged_native_libs/release/out/lib/x86/libdecodejme.so because unable to locate the objcopy executable for the x86 ABI.

> Task :app:desugarReleaseFileDependencies
> Task :app:mergeReleaseNativeDebugMetadata NO-SOURCE
> Task :app:mergeReleaseArtProfile UP-TO-DATE
> Task :app:mergeReleaseShaders
> Task :app:compileReleaseShaders NO-SOURCE
> Task :app:generateReleaseAssets UP-TO-DATE
> Task :app:mergeReleaseAssets
> Task :app:compressReleaseAssets
> Task :app:processReleaseJavaRes NO-SOURCE
> Task :app:collectReleaseDependencies
> Task :app:sdkReleaseDependencyData
> Task :app:validateSigningRelease
> Task :app:writeReleaseAppMetadata
> Task :app:writeReleaseSigningConfigVersions
> Task :app:preDebugUnitTestBuild UP-TO-DATE
> Task :app:processDebugUnitTestJavaRes NO-SOURCE
> Task :app:preReleaseUnitTestBuild UP-TO-DATE
> Task :app:javaPreCompileDebugUnitTest
> Task :app:processReleaseUnitTestJavaRes NO-SOURCE
> Task :app:javaPreCompileReleaseUnitTest
> Task :app:processDebugResources
> Task :app:processReleaseResources
> Task :app:mergeReleaseJavaResource
> Task :app:mergeExtDexRelease
> Task :app:mergeExtDexDebug
> Task :app:compileDebugJavaWithJavac
> Task :app:compileDebugSources
> Task :app:dexBuilderDebug
> Task :app:mergeProjectDexDebug
> Task :app:compileReleaseJavaWithJavac
> Task :app:compileReleaseSources
> Task :app:bundleReleaseClasses
> Task :app:dexBuilderRelease
> Task :app:bundleDebugClasses
> Task :app:compileReleaseUnitTestJavaWithJavac
> Task :app:testReleaseUnitTest
> Task :app:mergeDexRelease
> Task :app:compileDebugUnitTestJavaWithJavac
> Task :app:compileReleaseArtProfile UP-TO-DATE
> Task :app:testDebugUnitTest
> Task :app:test
> Task :app:optimizeReleaseResources
> Task :app:packageDebug
> Task :app:assembleDebug
> Task :app:packageRelease
> Task :app:lintVitalAnalyzeRelease
> Task :app:lintVitalRelease SKIPPED
> Task :app:assembleRelease
> Task :app:assemble
> Task :app:lintAnalyzeDebug

> Task :app:lintDebug
Wrote HTML report to file:///home/ivan/WW2Paris/app/build/reports/lint-results-debug.html

> Task :app:lint
> Task :app:check
> Task :app:build

Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.2/userguide/command_line_interface.html#sec:command_line_warnings

Looks like it works? There are no errors that I can at least spot. You can run it normally? Although I don’t know what normally means here. I have no idea about Android projects.

1 Like

I don’t know how to start it :smiley:
But apk file frizzing in emulator

Up, help anyone :frowning:

But it work’s im a happy 2 days struggled with problems

1 Like

Solved in cross platform project (update for lates jmonkey sdk gradle and test)
Can you add cross platform project to initializer?

1 Like

On the jme-initializer, select android and desktop gradle project, it will generate a similar template, but you have to select both.