V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  chopin1998519  ›  全部回复第 2 页 / 共 2 页
回复总数  35
1  2  
2023-05-30 14:31:15 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
@superedlimited 您这个是问的谁?
2023-05-30 14:29:10 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
@superedlimited

Oh! My! God!!!

我这个台式机, 用的是 wifi 访问外网, 然后以太网连接的是一个交换机, 有一些其它设备挂在上面通过台式机上网,所有 nat 。。。。。。。。

现在临时删掉了 iptables 规则, 至少目前可以编译了!!!!


太太太感谢了!
2023-05-30 14:03:06 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
2023-05-30 14:02:29 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
2023-05-30 14:00:49 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
@iovekkk 我知道, 用阿里云关闭代理了, 还是一样。。。哭死
2023-05-30 13:48:34 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
@kaedea 什么意思? 我的是 clash, socks 和 http 混合端口, 都能用的
2023-05-30 13:47:50 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
@superedlimited 是的,

我也直接在 terminal 里用 http_proxy/ https_proxy 环境变量试过

这样设置好后,gradle 还会问我要不要把这个配置写在它自己的全局配置文件里(~/.gradle/)
2023-05-30 13:46:04 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
@iovekkk 试过了, 还是一样的错误。。
2023-05-30 12:47:46 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
@ExplodingFKL

确实有有一堆错误。。


最后一段这样, 能看出什么吗?

2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] A new daemon was started but could not be connected to: pid=DaemonInfo{pid=261152, address=[0c0205be-28f5-4060-bc75-b4f2fefe660c port:43841, addresses:[/127.0.0.1]], state=Busy, lastBusy=1685421977961, context=DefaultDaemonContext[uid=bd402a2c-565c-485a-845d-febf686b1655,javaHome=/usr/lib/jvm/java-17-oracle,daemonRegistryDir=/home/marco/.gradle/daemon,pid=261152,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.base/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-Xmx2048m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]}, address= [0c0205be-28f5-4060-bc75-b4f2fefe660c port:43841, addresses:[/127.0.0.1]]. See https://docs.gradle.org/8.0/userguide/troubleshooting.html#network_connection for more details.
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Run with --scan to get full insights.
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Exception is:
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] org.gradle.launcher.daemon.client.NoUsableDaemonFoundException: A new daemon was started but could not be connected to: pid=DaemonInfo{pid=261152, address=[0c0205be-28f5-4060-bc75-b4f2fefe660c port:43841, addresses:[/127.0.0.1]], state=Busy, lastBusy=1685421977961, context=DefaultDaemonContext[uid=bd402a2c-565c-485a-845d-febf686b1655,javaHome=/usr/lib/jvm/java-17-oracle,daemonRegistryDir=/home/marco/.gradle/daemon,pid=261152,idleTimeout=10800000,priority=NORMAL,daemonOpts=--add-opens=java.base/java.util=ALL-UNNAMED,--add-opens=java.base/java.lang=ALL-UNNAMED,--add-opens=java.base/java.lang.invoke=ALL-UNNAMED,--add-opens=java.prefs/java.util.prefs=ALL-UNNAMED,--add-opens=java.base/java.nio.charset=ALL-UNNAMED,--add-opens=java.base/java.net=ALL-UNNAMED,--add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED,-Xmx2048m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]}, address= [0c0205be-28f5-4060-bc75-b4f2fefe660c port:43841, addresses:[/127.0.0.1]]. See https://docs.gradle.org/8.0/userguide/troubleshooting.html#network_connection for more details.
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.daemon.client.DaemonClient.execute(DaemonClient.java:172)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.daemon.client.DaemonClient.execute(DaemonClient.java:99)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:57)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:167)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.DefaultCommandLineActionFactory$ParseAndBuildAction.execute(DefaultCommandLineActionFactory.java:259)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.DefaultCommandLineActionFactory$ParseAndBuildAction.execute(DefaultCommandLineActionFactory.java:230)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.DebugLoggerWarningAction.execute(DebugLoggerWarningAction.java:82)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.DebugLoggerWarningAction.execute(DebugLoggerWarningAction.java:30)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.WelcomeMessageAction.execute(WelcomeMessageAction.java:96)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.WelcomeMessageAction.execute(WelcomeMessageAction.java:40)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.NativeServicesInitializingAction.execute(NativeServicesInitializingAction.java:44)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.NativeServicesInitializingAction.execute(NativeServicesInitializingAction.java:26)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:41)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:26)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.cli.DefaultCommandLineActionFactory$WithLogging.execute(DefaultCommandLineActionFactory.java:361)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:35)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:50)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:60)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at java.base/java.lang.reflect.Method.invoke(Method.java:568)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:34)
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
2023-05-30T12:46:17.979+0800 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Get more help at https://help.gradle.org
2023-05-30 11:51:54 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
@zhenghuiy 问题是 我看不到现在是否是因为网络的原因, 没有提示。。。
2023-05-30 11:42:54 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
2023-05-30 11:41:58 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
2023-05-30 11:32:44 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
请问 如果是网络问题的话, 哪里能看到日志?
2023-05-30 11:30:02 +08:00
回复了 chopin1998519 创建的主题 Android android 新手, hello world 无法编译。。
网络问题? 我已经设置好 proxy 了呀。。。
2022-07-18 10:16:13 +08:00
回复了 Wdafff 创建的主题 程序员 打开 PC 端微信比打开个 IDEA 还要卡,是真的厉害
Linux 用户路过, 希望 electron wechat 还能继续用下去, 希望 wechat 早点儿嗝屁

tg yyds
1  2  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   2473 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 15ms · UTC 12:26 · PVG 20:26 · LAX 05:26 · JFK 08:26
Developed with CodeLauncher
♥ Do have faith in what you're doing.