TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Santhosh
NA
300
138.8k
Deployment error with Xamarin android application
Oct 17 2016 3:36 AM
Hi,
I am using Visual Studio 2013.
In my Xamarin sample project build solution their is no errors.(Build succeeded)
next execute the project in Android Emulator it display this message..
---------------------------
Recommended AVD
---------------------------
Running an x86 based Android Virtual Device (AVD) is 10x faster.<br/>We strongly recommend creating a new AVD.
---------------------------
OK
---------------------------
after click ok button next it display build faild..
deploy error.
in output list section display these messages..
1>------ Build started: Project: App, Configuration: Debug Any CPU ------
1> Processing: obj\Debug\res\layout\main.xml
1> Processing: obj\Debug\res\values\strings.xml
1> App -> C:\Users\SrideviS\documents\visual studio 2013\Projects\App\App\bin\Debug\App.dll
1> Processing: obj\Debug\res\layout\main.xml
1> Processing: obj\Debug\res\values\strings.xml
1> Processing: obj\Debug\res\layout\main.xml
1> Processing: obj\Debug\res\values\strings.xml
2>Starting deploy AVD_GalaxyNexus_ToolsForApacheCordova ...
2>Starting emulator AVD_GalaxyNexus_ToolsForApacheCordova ...
2>C:\Android\ANDROI~1\tools\emulator.EXE -partition-size 512 -no-boot-anim -avd AVD_GalaxyNexus_ToolsForApacheCordova -prop monodroid.avdname=AVD_GalaxyNexus_ToolsForApacheCordova
2>ERROR: resizing partition e2fsck failed with exit code 8emulator: WARNING: Classic qemu does not support SMP. The hw.cpu.ncore option from your config file is ignored.
2>
2>emulator: Listening for console connections on port: 5554
2>emulator: Serial number of this emulator (for ADB): emulator-5554
2>Emulator AVD_GalaxyNexus_ToolsForApacheCordova is running.
2>Deploying AVD_GalaxyNexus_ToolsForApacheCordova ...
2>Build started.
2>C:\Program Files\Java\jdk1.8.0_102\\bin\keytool.exe -list -alias androiddebugkey -storepass android -keypass android -keystore "C:\Users\SrideviS\AppData\Local\Xamarin\Mono for Android\debug.keystore"
2>C:\Program Files\Java\jdk1.8.0_102\\bin\jarsigner.exe -keystore "C:\Users\SrideviS\AppData\Local\Xamarin\Mono for Android\debug.keystore" -storepass android -keypass android -digestalg SHA1 -sigalg md5withRSA -signedjar bin\Debug\\App.App-Signed-Unaligned.apk "C:\Users\SrideviS\documents\visual studio 2013\Projects\App\App\obj\Debug\android\bin\App.App.apk" androiddebugkey
2>No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2046-09-29) or after any future revocation date.
2>C:\Android\android-sdk\build-tools\23.0.1\zipalign.exe 4 "C:\Users\SrideviS\documents\visual studio 2013\Projects\App\App\bin\Debug\App.App-Signed-Unaligned.apk" "bin\Debug\\App.App-Signed.apk"
2>C:\Android\android-sdk\platform-tools\adb.exe -s emulator-5554 devices
2>C:\Android\android-sdk\platform-tools\adb.exe -s emulator-5554 shell getprop ro.build.version.sdk
2>C:\Android\android-sdk\platform-tools\adb.exe -s emulator-5554 shell getprop ro.product.cpu.abi
2>The "InstallPackageAssemblies" task failed unexpectedly.
2>System.AggregateException: One or more errors occurred. ---> Xamarin.AndroidTools.AndroidDeploymentException: InternalError ---> Mono.AndroidTools.AdbException: No such file or directory
2> at Mono.AndroidTools.Util.AggregateAsyncResult.CheckError(CancellationToken token)
2> at Mono.AndroidTools.Adb.AdbSyncClient.EndPush(IAsyncResult result)
2> at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
2> --- End of inner exception stack trace ---
2> at Xamarin.AndroidTools.AndroidDeploySession.<RunLoggedAsync>c__async1.MoveNext()
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> at Xamarin.AndroidTools.AndroidDeploySession.<StartAsync>c__async0.MoveNext()
2> --- End of inner exception stack trace ---
2> at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2> at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2> at System.Threading.Tasks.Task.Wait()
2> at Xamarin.Android.Tasks.InstallPackageAssemblies.Execute()
2> at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
2> at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
2>---> (Inner Exception #0) Xamarin.AndroidTools.AndroidDeploymentException: InternalError ---> Mono.AndroidTools.AdbException: No such file or directory
2> at Mono.AndroidTools.Util.AggregateAsyncResult.CheckError(CancellationToken token)
2> at Mono.AndroidTools.Adb.AdbSyncClient.EndPush(IAsyncResult result)
2> at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
2> --- End of inner exception stack trace ---
2> at Xamarin.AndroidTools.AndroidDeploySession.<RunLoggedAsync>c__async1.MoveNext()
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> at Xamarin.AndroidTools.AndroidDeploySession.<StartAsync>c__async0.MoveNext()<---
2>
2>Build FAILED.
2>An error occured. See full exception on logs for more details.
2>Build started.
2>C:\Program Files\Java\jdk1.8.0_102\\bin\keytool.exe -list -alias androiddebugkey -storepass android -keypass android -keystore "C:\Users\SrideviS\AppData\Local\Xamarin\Mono for Android\debug.keystore"
2>C:\Program Files\Java\jdk1.8.0_102\\bin\jarsigner.exe -keystore "C:\Users\SrideviS\AppData\Local\Xamarin\Mono for Android\debug.keystore" -storepass android -keypass android -digestalg SHA1 -sigalg md5withRSA -signedjar bin\Debug\\App.App-Signed-Unaligned.apk "C:\Users\SrideviS\documents\visual studio 2013\Projects\App\App\obj\Debug\android\bin\App.App.apk" androiddebugkey
2>No -tsa or -tsacert is provided and this jar is not timestamped. Without a timestamp, users may not be able to validate this jar after the signer certificate's expiration date (2046-09-29) or after any future revocation date.
2>C:\Android\android-sdk\build-tools\23.0.1\zipalign.exe 4 "C:\Users\SrideviS\documents\visual studio 2013\Projects\App\App\bin\Debug\App.App-Signed-Unaligned.apk" "bin\Debug\\App.App-Signed.apk"
2>C:\Android\android-sdk\platform-tools\adb.exe -s emulator-5554 devices
2>C:\Android\android-sdk\platform-tools\adb.exe -s emulator-5554 shell getprop ro.build.version.sdk
2>C:\Android\android-sdk\platform-tools\adb.exe -s emulator-5554 shell getprop ro.product.cpu.abi
2>The "InstallPackageAssemblies" task failed unexpectedly.
2>System.AggregateException: One or more errors occurred. ---> Xamarin.AndroidTools.AndroidDeploymentException: InternalError ---> Mono.AndroidTools.AdbException: No such file or directory
2> at Mono.AndroidTools.Util.AggregateAsyncResult.CheckError(CancellationToken token)
2> at Mono.AndroidTools.Adb.AdbSyncClient.EndPush(IAsyncResult result)
2> at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
2> --- End of inner exception stack trace ---
2> at Xamarin.AndroidTools.AndroidDeploySession.<RunLoggedAsync>c__async1.MoveNext()
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> at Xamarin.AndroidTools.AndroidDeploySession.<StartAsync>c__async0.MoveNext()
2> --- End of inner exception stack trace ---
2> at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
2> at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
2> at System.Threading.Tasks.Task.Wait()
2> at Xamarin.Android.Tasks.InstallPackageAssemblies.Execute()
2> at Microsoft.Build.BackEnd.TaskExecutionHost.Microsoft.Build.BackEnd.ITaskExecutionHost.Execute()
2> at Microsoft.Build.BackEnd.TaskBuilder.<ExecuteInstantiatedTask>d__20.MoveNext()
2>---> (Inner Exception #0) Xamarin.AndroidTools.AndroidDeploymentException: InternalError ---> Mono.AndroidTools.AdbException: No such file or directory
2> at Mono.AndroidTools.Util.AggregateAsyncResult.CheckError(CancellationToken token)
2> at Mono.AndroidTools.Adb.AdbSyncClient.EndPush(IAsyncResult result)
2> at System.Threading.Tasks.TaskFactory`1.FromAsyncCoreLogic(IAsyncResult iar, Func`2 endFunction, Action`1 endAction, Task`1 promise, Boolean requiresSynchronization)
2> --- End of inner exception stack trace ---
2> at Xamarin.AndroidTools.AndroidDeploySession.<RunLoggedAsync>c__async1.MoveNext()
2>--- End of stack trace from previous location where exception was thrown ---
2> at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
2> at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
2> at Xamarin.AndroidTools.AndroidDeploySession.<StartAsync>c__async0.MoveNext()<---
2>
2>Build FAILED.
2>
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Deploy: 0 succeeded, 1 failed, 0 skipped ==========
in my project .axml layouts are not loaded.
How to solve this issue..???
Reply
Answers (
2
)
add dynamically datagridviewcombobox in datagridview
Entity Framework