Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

unable to deploy my android application on android accelerated X86 oreo (Android 8.1-api27)

$
0
0

Hi , i create a sample application in xamarin forms. after building the project, i tried to deploy on emulator(android 8.1 oreo). i am getting the following error. please help me.

3>No way to resolve conflict between "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" and "mscorlib, Version=2.0.5.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e". Choosing "mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" arbitrarily.
3>C:\Program Files\Java\jdk1.8.0_172\bin\java.exe -Xmx1G -jar "C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.3\lib\dx.jar" --dex --no-strict --output obj\Debug\android\bin C:\Users\300092\source\repos\App2\App2\App2.Android\obj\Debug\android\bin\classes.zip "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\ReferenceAssemblies\Microsoft\Framework\MonoAndroid\v8.1\mono.android.jar" obj\Debug\lp\10\jl\bin\classes.jar obj\Debug\lp\11\jl\bin\classes.jar obj\Debug\lp\12\jl\bin\classes.jar obj\Debug\lp\13\jl\bin\classes.jar obj\Debug\lp\14\jl\bin\classes.jar obj\Debug\lp\15\jl\bin\classes.jar obj\Debug\lp\16\jl\bin\classes.jar obj\Debug\lp\17\jl\bin\classes.jar obj\Debug\lp\18\jl\bin\classes.jar obj\Debug\lp\19\jl\bin\classes.jar obj\Debug\lp\2\jl\formsviewgroup.jar obj\Debug\lp\20\jl\bin\classes.jar obj\Debug\lp\21\jl\bin\classes.jar obj\Debug\lp\3\jl\arch-core-common.jar obj\Debug\lp\4\jl\arch-lifecycle-common.jar obj\Debug\lp\5\jl\bin\classes.jar obj\Debug\lp\6\jl\bin\classes.jar obj\Debug\lp\8\jl\bin\classes.jar obj\Debug\lp\9\jl\bin\classes.jar
3>C:\Program Files\Java\jdk1.8.0_172\bin\keytool.exe -list -alias androiddebugkey -storepass android -keypass android -keystore "C:\Users\300092\AppData\Local\Xamarin\Mono for Android\debug.keystore"
3>C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.3\zipalign.exe 4 "C:\Users\300092\source\repos\App2\App2\App2.Android\obj\Debug\android\bin\com.companyname.App2.apk" "bin\Debug\com.companyname.App2-Signed.apk"
3>C:\Program Files\Java\jdk1.8.0_172\bin\java.exe -jar "C:\Program Files (x86)\Android\android-sdk\build-tools\27.0.3\lib\apksigner.jar" sign --ks "C:\Users\300092\AppData\Local\Xamarin\Mono for Android\debug.keystore" --ks-pass pass:android --ks-key-alias androiddebugkey --key-pass pass:android --min-sdk-version 19 --max-sdk-version 27 C:\Users\300092\source\repos\App2\App2\App2.Android\bin\Debug\com.companyname.App2-Signed.apk
3>Unexpected install output: Error: Could not access the Package Manager. Is the system running?
3>
3> at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName)
3> at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass94_0.b__0(Task1 t) 3> at System.Threading.Tasks.ContinuationTaskFromResultTask1.InnerInvoke()
3> at System.Threading.Tasks.Task.Execute()
3>Done building project "App2.Android.csproj".
3>Build succeeded.
3>Unexpected install output: Error: Could not access the Package Manager. Is the system running?
3>
3> at Mono.AndroidTools.Internal.AdbOutputParsing.CheckInstallSuccess(String output, String packageName)
3> at Mono.AndroidTools.AndroidDevice.<>c__DisplayClass94_0.b__0(Task1 t) 3> at System.Threading.Tasks.ContinuationTaskFromResultTask1.InnerInvoke()
3> at System.Threading.Tasks.Task.Execute()
3>
3>Deploy failed on Android_Accelerated_x86_Oreo
========== Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========

    i tried many times but unable to deploy!! please anyone help me!!

Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>