0
点赞
收藏
分享

微信扫一扫

踩坑及问题解决记录贴合集 不定时更新

ubuntu篇

ubuntu 20.04中文输入法安装谷歌输入法

linux下AndroidSutdio不能调试:Debugger process finished with exit code 127. A library required by the native debugger might be missing on your system. See idea.log file for more details.

AndroidStudio

Sdk/tools/monitor.bat在jdk11下不能运行

log日志

!SESSION 2022-01-09 13:21:19.046 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.10
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=zh_CN
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -data @noDefault

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.634
!MESSAGE Bundle reference:file:org.apache.ant_1.8.3.v201301120609/@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.637
!MESSAGE Bundle reference:file:org.apache.jasper.glassfish_2.2.2.v201205150955.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.637
!MESSAGE Bundle reference:file:org.apache.lucene.core_2.9.1.v201101211721.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.686
!MESSAGE Bundle reference:file:org.eclipse.help.base_3.6.101.v201302041200.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.687
!MESSAGE Bundle reference:file:org.eclipse.help.ui_3.5.201.v20130108-092756.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.687
!MESSAGE Bundle reference:file:org.eclipse.help.webapp_3.6.101.v20130116-182509.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.689
!MESSAGE Bundle reference:file:org.eclipse.jetty.server_8.1.3.v20120522.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.692
!MESSAGE Bundle reference:file:org.eclipse.platform.doc.user_4.2.2.v20130121-200410.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.692
!MESSAGE Bundle reference:file:org.eclipse.team.core_3.6.100.v20120524-0627.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.693
!MESSAGE Bundle reference:file:org.eclipse.team.ui_3.6.201.v20130125-135424.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.694
!MESSAGE Bundle reference:file:org.eclipse.ui.cheatsheets_3.4.200.v20120521-2344.jar@4 not found.

!ENTRY org.eclipse.osgi 4 0 2022-01-09 13:21:19.695
!MESSAGE Bundle reference:file:org.eclipse.ui.intro_3.4.200.v20120521-2344.jar@4 not found.

解决办法:

  1. 切换JAVA_HOME为jdk8
  2. 但我不想使用jdk8:复制jdk8的jre文件夹粘贴成Sdk\tools\lib\monitor-x86_64\jre(原来没有jre文件夹)

NDK开发

“NDK does not contain any platforms.”

  • 问题描述:在Project Structure的SDK Location中配置NDK Location时,会出现报错"NDK does not contain any platforms."
  • 原因:在NDK r19开始,platform已经被废弃,但是AndroidStudio依旧会检测
  • 解决方法:
    1. 降低NDK版本到r19以下
    2. 手动在local.properties中设置ndk.dir
举报

相关推荐

0 条评论