• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

android studio - Change not reflected

Hi,

I`m new with Android Studio. I tried to create an hello world project but it seems like any change in the application is not reflected when debugging the application.

1- Create an empty project in Android Studio

2- Change the "hello world!" text for something else

3- Execute the application in debug mode (with the emulator)

PROBLEM : The hello world initial text is still displayed in the application. Whatever the change made in the application, the same original empty application is still displayed

I tried to clean, rebuild, delete the generated file (apk) , check/uncheck the instantApp setting. Lost many hours trying to understand the problem and searching for help on the internet.

What did I not understand ????? I really need help :(

Thanks,

Michel
 
Are you absolutely sure that your application builds successfully, and the build process does not produce any errors?
 
I'm desperate, thank you very much for trying to help!

Cant see any error in the event log...everything seems to be work except that the application is never rebuilded.

Se my attached example (empty application with the word Hello world changed to "test"
Adding or changing anything in the application is never reflected when executing the application

Thanks again

Michel
 

Attachments

I'm desperate, thank you very much for trying to help!

Cant see any error in the event log...everything seems to be work except that the application is never rebuilded.

Se my attached example (empty application with the word Hello world changed to "test"
Adding or changing anything in the application is never reflected when executing the application

Thanks again

Michel

There seems to be a bug in Android Studio(AS) where occasionally a working project will all of sudden not sync anymore with Gradle and cause false errors.

I always fix this by clicking the button on the AS tool bar labeled "Sync Project with Gradle Files". Perhaps give that a try and see if it helps.
 
What is displayed in the console log when you click to run the app? Does it go through a build sequence and redeploy?
Does the emulator restart the app?
 
After uninstalling and reinstalling Android studio, the problem is now gone!!!!!!!!!!!!!!!!!!! Very strange

Thanks again for trying to help
 
I've noticed a decline in quality of Android Studio over recent months.
 
Back
Top Bottom