Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Android build: code changes not picked up unless I delete "build" folder #1342

Closed
derzhavets opened this issue Jul 3, 2023 · 2 comments
Closed
Labels
bug A crash or error in behavior.

Comments

@derzhavets
Copy link

Describe the bug

I created HelloWorld application, successfully built and run it on Android and everything works. However, when I make changes in code and rebuild the app, it builds initial version without the changes I just made.

Steps to reproduce

  1. Build and run briefcase HelloWorld app: "briefcase build android", "briefcase run android". Let's call it code v1.
  2. Make changes it code. Let's call it code v2.
  3. Build and run android app again.
  4. Code changes from v2 are not picked up, I see the version is built from code v1

Expected behavior

I expect it to pick the code changes each time I do build for android.

Screenshots

No response

Environment

  • Operating System: Windows
  • Python version: 3.9
  • Software versions:
    • Briefcase: 0.3.14

Logs

No response

Additional context

No response

@derzhavets derzhavets added the bug A crash or error in behavior. label Jul 3, 2023
@rmartin16
Copy link
Member

Adding the -u\--update switch to either briefcase build or briefcase run will update the source used to build the app. I think this request is encapsulated within the larger perspective of #807.

@freakboy3742
Copy link
Member

Closing on the basis that the issue appears to be understood. If the suggested resolution doesn't work, let us know and we can re-open and investigate further.

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug A crash or error in behavior.
Projects
None yet
Development

No branches or pull requests

3 participants