last day (14 days later) » 

3:48 AM
1
A: Cannot create release apk in Android Studio 2.2

rakesh kashyapSwitch from Android view to Project view. Navigate to app --> src --> debug --> res --> menu . Move your activity_main_drawer.xml file from this location to app --> src --> main --> res --> menu . In your current setup you have your resource files setup for debug build and not comm...

 
I did this, but all my resources now get a message "URI is not registered", and my AndroidManifest is also on main. Is there any other configuration that I am missing?
 
can you post a screen shot of the folder structure
 
I edited the question to insert the folder structure.
 
Can I have a look at expanded res folder. build folder can be ignored
 
Added the res folder details on the question.
 
3:48 AM
everything looks normal. you tried doing a clean build? what exactly is the error when you try to build it?
 
hi
i moved the discution to chat
ok?
 
cool
lets fix it
 
:)
so
first of all, thank you!
 
clean build also has a problem?
 
3:50 AM
no problem at all
 
so
every time I build it, I get the following error message:
Error:(53, 19) No resource found that matches the given name (at 'menu' with value '@menu/activity_main_drawer').
In a first moment, my app was running ok on debug mode
but I changed all resources to main
and now, debug also pops this error message
and, an important information:
 
this is build issue
u do rebuild or clean
?
 
it looks like no resource is able to find its namespace
yes, I cleaned project several times
for example:
this is my activity_main_drawer.xml
the xmlns:android URI is not found
it is written in red
 
<?xml version="1.0" encoding="utf-8"?>
<menu xmlns:android="http://schemas.android.com/apk/res/android">
 
it says URI is not registered
 
3:55 AM
this line?
 
11
Q: Android Studio: Error parsing XML & URI is not registered

JonasAfter adding a new Activity to my project I get following error while compiling the layout Gradle: Error parsing XML: not well-formed (invalid token) <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layou...

 
i looked at this question before :)
oohh... I had some progress here
just a moment
Rakesh, my friend
thank you!
I could solve the problem by recreating my resource files
 
:)
you did it yourself ..
i really did not help you here
 
once I moved them to main folder, I needed to recreate them and then I copy and pasted their contents to the newly created file that was now on the correct folder
yes, you helped me a lot, actually
 
4:04 AM
nice to know this.. :)
 
I will mark your answer as correct and I will add the further procedure I needed to perform
 
you can ping me any time on my google id... ill try to help if i know the subject
:)
 
Oh, it is kind of yours
 
together we can make things happen faster... thats what i believe
your profile seems to be interesting.. you work on angular js huh
 

last day (14 days later) »