failed to export application package - eclipse

When I updated my android sdk it gave me an error that did not let me zip align my tool, then with the sdk manager android sdk tools rev 23 and now it gives me a wayyyy more generic error, "failed to export application package" how do I solve this error? Some people suggested to check for updates, but there were no updates! can somebody tell me what is going on?

Problem solved, I just re-installed eclipse, and used the same workspace, that seemed to work!

Related

Mobile app crash after flutter update. What to do?

After a recent flutter update, my app stopped working. Throws out from the mobile application. Can you help me? I have got this error:
adb: failed to install /Users/User/Desktop/project/build/app/outputs/flutter-apk/app.apk: Failure[INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.package.name: signatures do not match previously installed version; ignoring!]
Before that everything worked. I don't know what to do, please help. The command adb uninstall <package_name> won't help. The project is already on Google Play
I tried reinstalling. Install the original version of the mobile application. update all dependencies, but nothing helped
that's because it's different from the previous version you can see in a similar case here

sdkmanager error (Warning: IO exception while downloading manifest)

when I try installing build tools using sdkmanager on window using this command below
C:\all-things-flutter\flutter-installation\android\cmdline-tools\bin>sdkmanager.bat "build-tools;30.0.0" --sdk_root=../
I keep getting this error
Warning: IO exception while downloading manifest
please this is not a duplicate question, cus I didn't find the answer I needed.
this has been bugging me for days so how can I get it right
So since I could not get an answer after 8 months, I have decided to share how I did it and other kinds of solutions people have suggested but not from here.
How i did it
I downloaded android studio (even tho i was not going to use it), then i use android studio to download the recommended SDK i will need, after that i added the SDK folder path to my system variable, that way i can continue the flutter installation and run flutter doctor, which did ditect my SDK path.
Other people Suggesttion
From my research online, I saw people saying that you need a much slower internet connection because if your internet connection is faster, it will skip some downloads, which can cause the SDK to not work well.
but my response to that is "yer good luck with that".

how to switch platforms in unity?

hiii i am new to unity, and i want to switch my platform to android. but, the problem is, when i click the android in build settings, it says "no android module loaded". and when i click to install with unity hub, it says "the unity version 2019.4.13f1 is already located by the hub. You cannot add modules to a located hub". how to resolve this issue ?? and i have also tried installing unity installer and when the downloading completes, it says "failed to locate unity.exe".... can someone pls help me with this.. I am trying this since past few days, and it has become annoying :(.. plssss somebody helpp.....
You should try this post:
Can't add modules to installed Unity editors
It says no reinstall required. But I would try that next.
It cannot hurt to read this as well:
https://docs.unity3d.com/Manual/android-sdksetup.html

error CS0234: The type or namespace name `iOS' does not exist in the namespace `UnityEditor'. Are you missing an assembly reference?

I have installed the latest versions of Unity (2017.3.1), Daydream SDKs (GVR SDK for Unity v1.130.0) and followed the steps here: https://developers.google.com/vr/develop/unity/get-started#configure_build_settings_and_player_settings
However when I press Play I get the following error, ideas on what is the reason & how to fix it?
Assets/GoogleVR/Editor/GvrBuildProcessor.cs(20,19): error CS0234: The type or namespace name 'iOS' does not exist in the namespace 'UnityEditor'. Are you missing an assembly reference?
Edit: Issue fixed after a few hours of submission on GitHub with the release of GVR SDK for Unity v1.130.1
If you're facing with this problem there are 2 steps to solve it:
Make sure that "iOS Build Support" is checked in Unity Hub -> Installs as Adam mentioned (if U're developing for iOS platform then this option most definitely is already checked).
Place your script in Assets -> Editor folder. UnityEditor.iOS.Xcode namespace cannot be used in your main project. It works only in special Assembly-CSharp-Editor project intended to modify native Xcode project. (That's the option that worked for me after searching a ton of forums).
The Official Solution:
https://forum.unity.com/threads/unityeditor-ios-xcode-ios-namespace-doesnt-exist.365381/
Step by step I did:
Figure 1 shows the Unity Download Assistent installation file that should be run.
Figure 2 shows the "iOS Build Support" option that should be checked for installation.
I went ahead and changed the "Current Platform" to "iOS" in Unity Hub, This is a quick fix and it works now.
Change "Current Platform" to iOS Image:
If you have installed IOS build through unity hub while the project is open, try restarting Unity Hub and Unity Editor. This solved my issue.
I met this issue When useing unity-arkit-plugin to develop something, i did nothing but import this plugin it throw this error .
And after i installed UnitySetup-IOS-Support-for-Editor-2017.3.0f3.pkg ,the issue fixed.
This usually happens when iOS Build Support is not installed in Unity Hub

Cannot create AVD because ARM EABI cannot find 'userdata.img' file

I installed Android 4.0.3, the jdk, and the ADT. I try to make an AVD, and the error message says 'cannot find userdata.img file.' I installed the ARM EABI v7a System Image in the SDK manager, and I still get the same error message. I read a post that says "Even if you download the AVD Manager that is external to eclipse and says you have it installed, you have to go into eclipse with the AVD Plugin and re-install it as well. Have to do it twice." I also did this twice, and I still cannot create an AVD. I don't know what else to do.
I'm just a beginner, so please someone help me!
Thank you for your time!
I had the same problem, and I had already installed "ARM EABI v7a". The following worked for me:
Install Android 4.0 (API 14) using Eclipse's "SDK Manager"
Create an Android 4.0 virtual device using Eclipse's "AVD Manager"
Now, try creating an Android 4.0.3 (API 15) virtual device. This time, it should work.
Please remember to set the CPU/ABI field as "ARM (armeabi-v7a)" when creating the AVD.