My Android app uses a library project which i've imported in Eclipse. So far everything works great. But now i try to change the library project (String.xml and the interface). I can see both changes in the graphical layout editor, but in the main app it doesn't changed.
I allready tried, restarts, cleans, remove and add again, nothing works, any ideas?
Thank you!
Related
I have just started using Android studio and it's really bad in my opinion. I tried to create something simple and designed a screen following youtube videos but when I run it, that looks really bad because nothing is placed where it should on the screen. Now I started a new project and created another screen inside activity_main.xml. I didn't write any code at all and it shows me an error
error: package androidx.test.ext.junit.runners does not exist
Also it keeps showing me the screen from the first project I created not the current one and I have no idea how to continue with it. This is the main issue for now cuz I can't even see the screen I'm designing. I tried Build>Clean project and Rebuild project from the answers I read but it's still the same.
According to the documentation for AndroidJUnit4, the gradle file should contain the following line:
androidTestImplementation 'androidx.test.ext:junit:1.1.1'
After adding this, everything worked for me.
If it still doesn't work, make sure that you clean and/or rebuild your project. Also you can check the current version directly in Google's maven repository
I have integrated a text-chat-sample application in my project.
I want to change the design of the text-chat layout. For this I have to change the design in text-chat library. I have changed it but the application is unaffected.
Are there any steps I need to follow in android studio?
I have checked it and tried to change the design in the library but it didn't take any changes which I have made.
So for solving this issue, I have copied all the required resources like Java class, XML files into my project.
Then I have made UI changes over there and it works perfectly.
Hope this will help you too ;)
I have already created an phonegap android project and it is working fine, now i would like to create same kind of project againg. Might it would be more than 5 apps, so i thought making it as library.
I have make the project as library and created a new project with different package name. Change the launcher activities name to the libraries launcher activity name. But now the issue is application error is happening, cannot load the index.html file.
So i think the way worked on is not the proper one, can anyone please help me to solve this problem.
you have to assign your initial android project as a library. right click the project, pick properties, then go to android, tick the "is library" box and apply
For your new projects, you need to "add" the project before as your library as the image above
I have developed a Project. it is working fine. so i want to use this project as a library for some other project. so i have created this project as a library. Later i have created new Application and added this library project to my new Application Project. then i run the app .
suddenly the previous screen in the activity stack is finishing automatically. i am not getting why this is Happening. Any one have the idea about this issue , Please suggest me
Even though it is added as a library project.
You still need to add the activities that you are calling/using(from the library project) in your new projects AndroidManifest.xml
Though I must say, you should consider showing your logcat and calling code.
Have you set reference to your project?
Rightclick on your project-properties-android-islibrary mark it and add
android:noHistory="true".
beacause of this attribute. stack history was removed. by removing this attribute it working fine
I'm working with Eclipse Helios on Android app and found that when constructing UI I'm not able to use common Ctrl+C, Ctrl+V. Using RMB+Paste works fine. However I'm also not able to paste using Eclipse menu -> Edit, where "Paste" is just disabled.
Please advice..
I'm also developing in Eclipse Helios, i just use RMB+Coby and RMB+Paste ?
But when you should paste something in again, you need to RMB the view where the copied items should go..
Does that work for you ?