Hey guys, wanted to rack your brains to see what I am doing wrong.
Trying to get my sdk settings and export settings working
- Installed java sdk and latest version of android studios
- in fusion, Export Android/OUYA application
- Build API is set to 30
- Android SDK directory set to C:\Users\Jasmine\AppData\Local\Android\Sdk
- JDK directory set to C:\Program Files\Android\Android Studio\jre
When I build, I get this error
-----------------------------------------------------------------------------------------------------------
> Configure project :app
WARNING: The option 'android.useDeprecatedNdk' is deprecated.
The current default is 'false'.
It has been removed from the current version of the Android Gradle plugin.
NdkCompile is no longer supported
> Task :app:preBuild UP-TO-DATE
> Task :app:preDebugBuild UP-TO-DATE
> Task :app:compileDebugAidl NO-SOURCE
> Task :app:compileDebugRenderscript NO-SOURCE
> Task :app:generateDebugBuildConfig
> Task :app:generateDebugResValues
> Task :app:generateDebugResources
> Task :app:javaPreCompileDebug
> Task :app:createDebugCompatibleScreenManifests
> Task :app:extractDeepLinksDebug
> Task :app:processDebugManifest
> Task :app:mergeDebugShaders
> Task :app:compileDebugShaders NO-SOURCE
> Task :app:generateDebugAssets UP-TO-DATE
> Task :app:mergeDebugAssets
> Task :app:processDebugJavaRes NO-SOURCE
> Task :app:checkDebugDuplicateClasses
> Task :app:mergeDebugJniLibFolders
> Task :app:mergeDebugJavaResource
> Task :app:validateSigningDebug
> Task :app:mergeDebugResources
> Task :app:processDebugResources
> Task :app:compileDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
> Task :app:compileDebugSources
> Task :app:dexBuilderDebug
> Task :app:mergeExtDexDebug
> Task :app:mergeDebugNativeLibs
> Task :app:stripDebugDebugSymbols FAILED
> Task :app:mergeDexDebug
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:stripDebugDebugSymbols'.
> No version of NDK matched the requested version 21.0.6113669. Versions available locally: 21.3.6528147
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
* Get more help at Please login to see this link.
BUILD FAILED in 19s
20 actionable tasks: 20 executed
----------------------------------------------------------------------------------------------------------------------
When I try to update licenses I get this
Microsoft Windows [Version 10.0.18363.1139]
(c) 2019 Microsoft Corporation. All rights reserved.
C:\Users\Jasmine\AppData\Local\Android\Sdk\tools\bin>sdkmanager licenses
Warning: File C:\Users\Jasmine\.android\repositories.cfg could not be loaded.
Warning: Failed to find package licenses
[=== ] 10% Computing updates...
C:\Users\Jasmine\AppData\Local\Android\Sdk\tools\bin>sdkmanager updates
Warning: File C:\Users\Jasmine\.android\repositories.cfg could not be loaded.
Warning: Failed to find package updates
[=== ] 10% Computing updates...
C:\Users\Jasmine\AppData\Local\Android\Sdk\tools\bin>
Any ideas on a starting point?
EDIT: NVM
I had to install a missing component of NDK.
Please login to see this link.
I'll come back if necessary!