首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Ionic 3应用程序无法在Android设备上运行

Ionic 3应用程序无法在Android设备上运行
EN

Stack Overflow用户
提问于 2018-04-06 19:00:36
回答 1查看 164关注 0票数 0

我无法在Android设备上运行应用程序,它没有给出任何错误。以下是终端的输出;

代码语言:javascript
运行
复制
Running app-scripts build: --platform android --target cordova
[13:00:25]  build dev started ...
[13:00:25]  clean started ...
[13:00:25]  clean finished in 24 ms
[13:00:25]  copy started ...
[13:00:25]  deeplinks started ...
[13:00:25]  deeplinks finished in 130 ms
[13:00:25]  transpile started ...
[13:00:31]  transpile finished in 5.76 s
[13:00:31]  preprocess started ...
[13:00:31]  preprocess finished in 1 ms
[13:00:31]  webpack started ...
[13:00:31]  copy finished in 6.35 s
[13:00:41]  webpack finished in 10.48 s
[13:00:41]  sass started ...
Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.
[13:00:44]  sass finished in 2.45 s
[13:00:44]  postprocess started ...
[13:00:44]  postprocess finished in 19 ms
[13:00:44]  lint started ...
[13:00:44]  build dev finished in 19.37 s
> cordova run android
Android Studio project detected

ANDROID_HOME=C:\Users\umutg\AppData\Local\Android\sdk
JAVA_HOME=C:\Program Files\java\jdk-10
(node:3684) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): CordovaError: Requirements check failed for JDK 1.8 or greater
(node:3684) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

[OK] Your app has been deployed.
     Did you know you can live-reload changes from your app with --livereload?

我认为它看不到设备,它不能在另一个设备或模拟器上工作。我创建了新的应用程序来尝试它是一样的。

EN

回答 1

Stack Overflow用户

发布于 2018-04-06 19:25:20

它是关于JDK V10的,我卸载了它,并且工作正常。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/49691259

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档