android - 如何将 .class 库导入 Android Studio 上的项目?
问题描述
我正在开发一个创建 POS 的项目,我需要使用生物识别阅读器,我找到了 SDK,但库的文件在 .class 中,有没有像 Eclipse 那样的选项来在 Android Studio 项目中导入这些文件?我只找到 .JAR 的选项
解决方案
.class
在项目结构中复制所需的文件。
project/Android/app/src/main/java/com/example/myapplication
.class
文件将在 Android Studio 中自动反编译。当你打开它们时,你会看到类似这样的东西:
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
推荐阅读
- reactjs - firebase auth 无效的钩子调用
- django - 在 django-generic-views 中隐藏某些用户的用户数据
- arrays - 通用阵列计数器?
- python - Numpy std 函数对于小值的行为不符合预期
- scala - Scala中具有多个值的可变映射
- python - 如何在 spacy 中执行拼写检查。如果可能,需要找到错误的单词和建议的数量
- excel - 自动报废报告
- angular - 将 mongoDB 地图集连接到 Angular
- azure - Azure 管道自定义任务 - 信息日志被视为错误
- r - 如何随机过滤行以实现分组变量的所需比例