google-developer-training / android-basics-kotlin-mars-photos-app

Apache License 2.0
92 stars 193 forks source link

Android Basics: Get data from the Internet - Missing step of uninstalling app after adding new permission #110

Closed brendanm-stripe closed 10 months ago

brendanm-stripe commented 2 years ago

name: Android Basics Unit 4 issue about: Report problems with the Android Basics Unit 4 codelabs title: 'Android Basics Unit 4 issue:' labels: '' assignees: ''


URL of codelab

In which task and step of the codelab can this issue be found? https://developer.android.com/codelabs/basic-android-kotlin-training-getting-data-internet?continue=https%3A%2F%2Fdeveloper.android.com%2Fcourses%2Fpathways%2Fandroid-basics-kotlin-unit-4-pathway-2%23codelab-https%3A%2F%2Fdeveloper.android.com%2Fcodelabs%2Fbasic-android-kotlin-training-getting-data-internet#6

add-permission

Describe the problem When the INTERNET permission is first added, rebuilding & restarting the app leads to a new error:

EPERM (Operation not permitted)

The missing step here is to uninstall the Mars Photos app before rebuilding & reinstalling with the new permission.

Steps to reproduce?

  1. Follow the steps of the guide, after resolving the "missing INTERNET" permission by adding the permission to the manifest...
  2. See error... EPERM

Versions Android Studio version: Android Studio Arctic Fox | 2020.3.1 Patch 1 Build #AI-203.7717.56.2031.7621141, built on August 7, 2021 API version of the emulator: Pixel 4 API 29

Additional information Include screenshots if they would be useful in clarifying the problem.