Skip to content
This repository has been archived by the owner on May 5, 2021. It is now read-only.

Android - XA4301: Cannot determine abi of native library #81

Open
ondrejnovotny opened this issue Apr 24, 2020 · 4 comments
Open

Android - XA4301: Cannot determine abi of native library #81

ondrejnovotny opened this issue Apr 24, 2020 · 4 comments

Comments

@ondrejnovotny
Copy link

After clean clone and rebuild, when I run on any device or emulator:

1>Waiting for runtime checks to complete
Runtime checks completed
1>Starting deployment to Motorola one vision ...
1>Deploying to Motorola one vision ...
Build started.
Project "Urho.Samples.Droid.csproj" (Install target(s)):
Found Java SDK version 1.8.0.
Found Java SDK version 1.8.0.
Dex Fast Deployment Enabled: False
MonoAndroid Tools: C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Xamarin\Android
Android Platform API level: 28
TargetFrameworkVersion: v9.0
Android NDK:
Android SDK: C:\Program Files (x86)\Android\android-sdk
Android SDK Build Tools: C:\Program Files (x86)\Android\android-sdk\build-tools\28.0.3
Java SDK: C:\Program Files\Android\Jdk\microsoft_dist_openjdk_1.8.0.25
Application Java class: android.app.Application
Project "Urho.Samples.csproj" (GetTargetFrameworks target(s)):
Done building project "Urho.Samples.csproj".
Project "Urho.Samples.csproj" (GetTargetPath target(s)):
Done building project "Urho.Samples.csproj".
PackageName: com.mono.urho3d
AndroidManifest.xml //uses-sdk/@android:minSdkVersion '15' is less than API-16, this configuration is not supported.
Skipping target "_ResolveLibraryProjectImports" because all output files are up-to-date with respect to the input files.
Skipping target "_BuildLibraryImportsCache" because all output files are up-to-date with respect to the input files.
Skipping target "_GenerateAndroidResourceDir" because all output files are up-to-date with respect to the input files.
Skipping target "_GenerateLayoutBindings" because it has no outputs.
Skipping target "_ConvertLibraryResourcesCases" because all output files are up-to-date with respect to the input files.
Skipping target "_CompileAndroidLibraryResources" because all output files are up-to-date with respect to the input files.
Skipping target "_ConvertResourcesCases" because all output files are up-to-date with respect to the input files.
Skipping target "_CompileResources" because all output files are up-to-date with respect to the input files.
Skipping target "_PrepareUpdateAndroidResgen" because all output files are up-to-date with respect to the input files.
Skipping target "_UpdateAndroidResgen" because all output files are up-to-date with respect to the input files.
Adding assembly reference for Urho.Samples.Droid, recursively...
Adding assembly reference for Java.Interop, recursively...
Adding assembly reference for Mono.Android, recursively...
Adding assembly reference for System.Net.Http, recursively...
Adding assembly reference for System.Drawing.Common, recursively...
Adding assembly reference for System.Runtime.Serialization, recursively...
Adding assembly reference for System.ServiceModel.Internals, recursively...
Adding assembly reference for mscorlib, recursively...
Adding assembly reference for System.Core, recursively...
Adding assembly reference for System, recursively...
Adding assembly reference for Mono.Security, recursively...
Adding assembly reference for System.Numerics, recursively...
Adding assembly reference for System.Runtime, recursively...
Adding assembly reference for System.ComponentModel.Composition, recursively...
Adding assembly reference for System.Xml, recursively...
Adding assembly reference for System.Xml.Linq, recursively...
Adding assembly reference for Urho, recursively...
Adding assembly reference for Urho.Droid.SdlBinding, recursively...
Adding assembly reference for Urho.Samples, recursively...
Adding assembly reference for System.Collections, recursively...
Adding assembly reference for System.Runtime.Extensions, recursively...
Adding assembly reference for System.Diagnostics.Debug, recursively...
Adding assembly reference for System.Threading.Tasks, recursively...
Adding assembly reference for System.Text.Encoding, recursively...
Adding assembly reference for System.Runtime.InteropServices, recursively...
Adding assembly reference for System.Linq, recursively...
Adding assembly reference for System.Globalization, recursively...
Skipping target "_CopyConfigFiles" because it has no inputs.
Skipping target "_ConvertPdbFiles" because all output files are up-to-date with respect to the input files.
Skipping target "_LinkAssembliesNoShrink" because all output files are up-to-date with respect to the input files.
Skipping target "_CopyConfigFiles" because it has no inputs.
Skipping target "_GenerateJavaStubs" because all output files are up-to-date with respect to the input files.
Skipping target "_ConvertCustomView" because all output files are up-to-date with respect to the input files.
Skipping target "_AddStaticResources" because all output files are up-to-date with respect to the input files.
Skipping target "_GeneratePackageManagerJava" because all output files are up-to-date with respect to the input files.
Skipping target "_GenerateAndroidAssetsDir" because all output files are up-to-date with respect to the input files.
Skipping target "_PrepareCreateBaseApk" because all output files are up-to-date with respect to the input files.
Skipping target "_CreateBaseApk" because all output files are up-to-date with respect to the input files.
Skipping target "_CompileJava" because all output files are up-to-date with respect to the input files.
Skipping target "_CompileNativeAssemblySources" because all output files are up-to-date with respect to the input files.
Skipping target "_CreateApplicationSharedLibraries" because all output files are up-to-date with respect to the input files.
Skipping target "_CompileToDalvikWithD8" because all output files are up-to-date with respect to the input files.
XA4301: Cannot determine abi of native library D:\source\repos\urhosharp\FeatureSamples\packages\UrhoSharp.1.8.71\build\MonoAndroid\....
ative\Android\armeabi\libmono-urho.so.
XA4301: Cannot determine abi of native library D:\source\repos\urhosharp\FeatureSamples\packages\UrhoSharp.1.8.71\build\MonoAndroid\....
ative\Android\armeabi\libmono-urho.so.
Could not determine abi of some native libraries, ignoring those: D:\source\repos\urhosharp\FeatureSamples\packages\UrhoSharp.1.8.71\build\MonoAndroid\....
ative\Android\armeabi\libmono-urho.so
XA4301: Cannot determine abi of native library D:\source\repos\urhosharp\FeatureSamples\packages\UrhoSharp.1.8.71\build\MonoAndroid\....
ative\Android\armeabi\libmono-urho.so.
XA4301: Cannot determine abi of native library D:\source\repos\urhosharp\FeatureSamples\packages\UrhoSharp.1.8.71\build\MonoAndroid\....
ative\Android\armeabi\libmono-urho.so.
XA4301: Cannot determine abi of native library D:\source\repos\urhosharp\FeatureSamples\packages\UrhoSharp.1.8.71\build\MonoAndroid\....
ative\Android\armeabi\libmono-urho.so.
Done building project "Urho.Samples.Droid.csproj" -- FAILED.
Build FAILED.

@mcferdev
Copy link

I am with the same problem...Did you fix ?

@mtylerjr
Copy link

mtylerjr commented May 25, 2020 via email

@malixg
Copy link

malixg commented Oct 3, 2020

Did you have any luck figuring this out? Having the same issue.

@ondrejnovotny
Copy link
Author

No, but I ran urho it without issues in our custom project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants