Refer to 原
AOSP8.1 Build aosp_x86_64-eng
https://blog.youkuaiyun.com/hushui/article/details/80882557
### Default
android-8.1.0_r33 with emulator for X86_64bit
lake@localhost:~/Google/android-8.1.0_r33$ /home/lake/Google/android-8.1.0_r33/prebuilts/android-emulator/linux-x86_64/emulator -verbose
######### Set proxy on command
lake@localhost:~/Google/android-8.1.0_r33$ history |grep http_proxy
4020 export http_proxy="http://10.24.1.1:8080/"
############# Note HTTP is OK in emulator/webview. HTTPS fails
lake@localhost:~/Google/android-8.1.0_r33$ /home/lake/Google/android-8.1.0_r33/prebuilts/android-emulator/linux-x86_64/emulator -verbose -http-proxy http://10.24.1.1:8080
emulator:Android emulator version 26.1.3.0 (build_id 4240222) (CL:365325bb96fad1ae7ca8a8961b2c78d85491a0b0)
emulator:Found ANDROID_PRODUCT_OUT: /home/lake/Google/android-8.1.0_r33/out/target/product/generic_x86_64
emulator:Found build target architecture: x86_64
emulator:argv[0]: '/home/lake/Google/android-8.1.0_r33/prebuilts/android-emulator/linux-x86_64/emulator'; program directory: '/home/lake/Google/android-8.1.0_r33/prebuilts/android-emulator/linux-x86_64'
emulator:try dir /home/lake/Google/android-8.1.0_r33/prebuilts/android-emulator/linux-x86_6
.................
setting up http proxy: proxy=10.24.1.1 port=8080
.....................
本文档详细介绍了如何在AOSP8.1环境下为x86_64架构构建Android系统,并在过程中设置HTTP代理。包括使用预构建的emulator进行构建,以及如何通过命令行设置代理,解决HTTP访问问题。
1142

被折叠的 条评论
为什么被折叠?



