I can't build my AAB because both in Unity and in Android Studio (when exporting the project) it fails with this error:
file 'root/res/drawable-xhdpi/ic_launcher.png' uses reserved file or directory name 'res'.
I searched up a lot and I can't find a valid solution to this issue, and I can't think of a way to avoid it since the files it refers to are added at the moment of building. Can anybody help me with this? Thanks a lot.
Related
I'm trying to import a ZIP file into my Android Studio, but it always comes up with this error:
For your information, the ZIP file when converted into APK is the Rosemary font from Samsung FlipFont modded to insert custom fonts into One UI 2. I don't have any APK file for this, and only a ZIP file. How can I fix this? Help would be greatly appreciated!
Have you tried changing the project folder location and tried re-importing??
When trying to reference a .AAR java library binding we received the following error:
Unexpected error - Please file a bug report at http://bugzilla.xamarin.com. Reason: System.IO.DirectoryNotFoundException: Could not find a part of the path "\\####\####\Developer\Mobile Apps\Android\####.Android\Project Files\####.Xamarin.Android\obj\Release\__library_projects__\IntercomForXamarinAndroidBase\library_project_imports\res\drawable-xxhdpi\intercomsdk_chat_bubble_right_aligned_notail.9.png" (XA0000) (####.Xamarin.Android) monodroid
Turns out it was because the file path was too long.
Installed windows hotfix:
A file copy operation fails when files or folders have long paths in Windows Explorer
I am trying to build an application using Android NDK. I have followed all the steps and everything works fine and the .so file is being made. But in eclipse when I try to clean the project I get the following error:
The file does not exist for the external tool named SWIG.
Does anyone have any idea what this might be?
Check Project->Properties->Builders, probably you have an external builder that is not working.
I am using apktool to decompile the apk to get the res file. I downloaded the apktool and used command (apktool –d myapp.apk), it is extracting the res file but in value folder some xml files are missing.Please let me know the solution.Thanks..
Just open APK with Winrar and you'll find the stuff there.
The error "Public symbol string/xyz declared here is not defined" is telling you that the edit you made is not defined in the string.xml. You will have to edit the string.xml also.
Could be related to the issue tracked here!
A more interesting point about this problem is explained by owner of apktool2.0 beta release here!
I get a feeling that the problem you are facing is because of the apk being built using older aapt and you are building using newer aapt. Try getting the aapt version using which the apk was built and see if apktool helps your case.
I've got some AIDL files which I want to include in a project, however Eclipse seems to work differently on different projects.
I'm developing an SDK for an application, and in the SDK android project the AIDL file generates the correct .java file, but in the main application Eclipse is not even attempting to build it.
Update: I found a log file and it says this:
!ENTRY com.android.ide.eclipse.adt 4 0 2012-04-21 19:22:11.043
!MESSAGE Failed to run one of the source processor
!STACK 0
java.lang.NullPointerException
at com.android.ide.eclipse.adt.internal.build.AidlProcessor.doCompileFiles(AidlProcessor.java:109)
(include rest of stack here...)
Joe
I had this exact issue happen to me today. It turns out this happens when there are source folders in your project that do not actually exist.
So verify in your project Java Build Path that all source folders actually exist. After removing a dead source folder link from there my project once again compiled the aidl.
From my experience you create the .aidl file in your project (make sure your included packages are correct - you will get an error if not). If the .aidl file is good a .java file will be created in the gen/ directory under the correct package name.
Next you must connect your java code to the interface using
<YourAidlClassName>.Stub myAidlInterface = new <YouAidlClassName>.Stub() {
// Your AIDL interface methods will appear in here and can now be used
// in your application as myAidlInterface.methodName();
}
Hope this helps.
Okay, I don't understand this but for some reason 12.04 of ubuntu flagged up an error.
On one project I could called the file IAPPNAMEConect.aidl but the other wanted it as IAPPNAMEService.aidl
I completely forgot about Java's strictness there