sif*_*_in 25 android bundle archive apk android-studio
突然android studio显示了这条消息。
我必须做什么?
它显示:
File pattern '*.apk' (from 'bundled' plugin) was reassigned to file type 'APK' by 'Android' plugin
You can confirm or revert reassigning pattern '*.apk'
Run Code Online (Sandbox Code Playgroud)
并给出了三个链接:
Confirm reassign this pattern to file type 'APK'
Revert this pattern to file type 'ARCHIVE'
Edit file type 'ARCHIVE'
Run Code Online (Sandbox Code Playgroud)
回答选择
“确认将此模式重新分配给文件类型‘APK’”
为什么?
android studio中的文件模式是intellij idea IDE的另一个版本,有一个非常好的建议引擎。
为了向我们建议语法中的拼写错误和错误,它必须知道文件中使用的是哪种编程语言,以便它可以相应地向我们建议/显示错误。
例如,如果您创建一个文件“hello.xyzabc”,其中包含简单的html代码,您将必须告诉intellij idea IDE(android studio),该文件实际上是一个html代码文件,这样无论扩展是否完全不同的是,它向我们显示建议/错误,就像 html 文件一样。
我们在 android studio(bumblebee 版本 2021.1.1)中通过
Settings|Editor|File types
Run Code Online (Sandbox Code Playgroud)
[已表示 Android 版本,因为有时它们会更改菜单项位置])。
他们(intellij 人)不断添加识别默认值以改进建议。
在这种情况下,“.apk”实际上并不是 zip(存档)文件,即使您可以使用“zip”应用程序打开它。
因此,要将来获得有关“.apk”文件的建议,您必须选择
“确认将此模式重新分配给文件类型‘APK’”
归档时间: |
|
查看次数: |
3573 次 |
最近记录: |