Native extension for Android target not found
See original GitHub issueI tried several different versions of unity, but I am getting the same error in each versions.
Here is the complete log
name: Build and Release CGS
on:
push:
branches:
- master
- dev/*
jobs:
buildForAllPlatforms:
name: Build for ${{ matrix.targetPlatform }} on version ${{ matrix.unityVersion }}
runs-on: ubuntu-latest
env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
strategy:
fail-fast: false
matrix:
unityVersion:
- 2019.3.7f1
targetPlatform:
- Android # Build an Android .apk standalone app.
- iOS # Build an iOS player.
# - StandaloneOSX # Build a macOS standalone (Intel 64-bit).
# - StandaloneWindows # Build a Windows standalone.
# - StandaloneWindows64 # Build a Windows 64-bit standalone.
# - StandaloneLinux64 # Build a Linux 64-bit standalone.
# - WebGL # WebGL.
steps:
- uses: actions/checkout@v2
with:
lfs: true
- uses: actions/cache@v1.1.0
with:
path: Library
key: Library-${{ matrix.targetPlatform }}
- uses: webbertakken/unity-builder@196fe8fc5b9d335768f6c0c051f285d0080c267e
with:
unityVersion: ${{ matrix.unityVersion }}
targetPlatform: ${{ matrix.targetPlatform }}
buildsPath: builds
androidAppBundle: true
androidKeystoreName: user.keystore
androidKeystorePass: ${{ secrets.ANDROID_KEYSTORE_PASS }}
androidKeyaliasName: ${{ secrets.ANDROID_KEYALIAS_NAME }}
androidKeyaliasPass: ${{ secrets.ANDROID_KEYALIAS_PASS }}
- uses: actions/upload-artifact@v1
with:
name: cgs-builds
path: builds
2020-07-27T23:54:49.2953145Z Targeting platform: Android
2020-07-27T23:54:49.2971043Z Refreshing native plugins compatible for Editor in 0.01 ms, found 0 plugins.
2020-07-27T23:54:49.2976002Z Preloading 0 native plugins for Editor in 0.00 ms.
Register platform support module: /opt/Unity/Editor/Data/PlaybackEngines/LinuxStandaloneSupport/UnityEditor.LinuxStandalone.Extensions.dll
Register platform support module: /opt/Unity/Editor/Data/PlaybackEngines/AndroidPlayer/UnityEditor.Android.Extensions.dll
Registered in 0.004537 seconds.
Native extension for Android target not found
Native extension for LinuxStandalone target not found
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
[Unity] Native extension for Android target not found
On cloud building project is failing with "Native extension for Android target not found" I want to target Android using unity 5.3.7f1...
Read more >Null reference error - Google Groups
Native extension for Android target not found. Load scene 'Temp/__Backupscenes/0.backup' time: ... EditorHelper: No Visual Studio 2008 installation found.
Read more >Cannot find build output of Unity with Windows GitlabRunner
I am curently configuring a Windows GitlabRunner for Unity. Actually the build seems to works successfully according to the log file, however I ......
Read more >Editor will freeze when using -executeMethod #389 - GitHub
Begin MonoManager ReloadAssembly Native extension for iOS target not found Native extension for Android target not found Native extension ...
Read more >WebGL Build Failing - Unity 2018.2.9f1 (#39) · Issues - GitLab
Native extension for WebGL target not found Native extension for ... ms] Updating Packages/com.unity.ads/Editor/Resources/Android/builds ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I will try again with the smaller project. My error is slightly different. I do use facebook SDK which requires me to have openssl installed on windows but I dont think that would be needed for linux. The script which has compiler errors seems to be a unity script, so I guess I will just wait for the update.
I’m not 100% sure, but it may be due to upstream changes to android docker images introduced in https://gitlab.com/gableroux/unity3d/-/commit/4d1eaa74cbec79386cda4f797e1db63ebcda1c20.
We will republish android images with the right JDK/SDK/NDK this week.
Here are related issues:
Do you have more details? Did you try in a smaller/empty unity project?
Again, right now, even my example project fails on android build with following error:
https://gitlab.com/gableroux/unity3d-gitlab-ci-example/-/jobs/659753064
Related issue:
https://gitlab.com/gableroux/unity3d-gitlab-ci-example/-/issues/115