Develop on the emulator only, real device gets the signed APK; pin ezvpn v0.0.42 - #5
Merged
Merged
Conversation
Development, debug installs, and testing now target the arm64 Android VM at 10.22.35.66:5555 (bridged onto the LAN); the physical Nexus 7 only ever receives the signed release APK. - scripts/run-device.sh defaults to the emulator serial, exports ANDROID_SERIAL for Gradle, refuses the release device, and drops the ro.kernel.qemu emulator rejection. - scripts/install-release-apk.sh (new) is the only script that touches the real device: verifies the APK with apksigner, refuses debug/unsigned builds, installs with one reconnect retry, optionally builds/launches. - CLAUDE.md and README.md document the split, the -s/ANDROID_SERIAL targeting rule, and scrcpy for the emulator screen. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QedowxAkQAV7HoeJu8ZYZC
Picks up the graceful endpoint close on disconnect. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01QedowxAkQAV7HoeJu8ZYZC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
10.22.35.66:5555; the physical Nexus 7 only ever receives the signed release APK.scripts/run-device.shdefaults to the emulator serial, exportsANDROID_SERIALfor Gradle, refuses the release device, and drops thero.kernel.qemuemulator rejection.scripts/install-release-apk.shis the only script that touches the real device: verifies the APK withapksigner, refuses debug/unsigned builds, installs with one reconnect retry, optional--build/--launch.CLAUDE.md/README.mddocument the split, the-s/ANDROID_SERIALtargeting rule, and scrcpy for the emulator screen.Test plan
./gradlew :tunnelcore:test :app:testDebugUnitTest :app:assembleDebugwith the pinned core (all three ABIs packaged)scripts/run-device.sh --pinnedinstalls on the emulator only ("Installed on 1 device", versionName 0.0.42)🤖 Generated with Claude Code
https://claude.ai/code/session_01QedowxAkQAV7HoeJu8ZYZC