【我的Android进阶之旅】解决:The currently selected variant “debug“ uses split APKs, but none of the 1 split...

这篇具有很好参考价值的文章主要介绍了【我的Android进阶之旅】解决:The currently selected variant “debug“ uses split APKs, but none of the 1 split...。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

一、错误描述

在Github下载了一份代码,在本地运行看看效果,直接运行失败,如下所示:
【我的Android进阶之旅】解决:The currently selected variant “debug“ uses split APKs, but none of the 1 split...,我的Android进阶之旅,# Android常见错误解决之道,android,android studio,ide
错误描述如下所示:

The currently selected variant "debug" uses split APKs, 
but none of the 1 split apks are compatible with the current device with ABIs "armeabi-v7a, armeabi".

翻译过来就是:

当前选择的变体“debug”使用拆分APK,但1个拆分APK中没有一个与当前具有ABIarmeabi-v7a,armeabi”的设备兼容。

二、解决方法

  1. 我的设备只支持armeabi-v7a 或者armeabi

  2. 代码中ndk选项只配置了arm64-v8a

  3. 因为项目有armeabi-v7a文章来源地址https://www.toymoban.com/news/detail-537213.html

到了这里,关于【我的Android进阶之旅】解决:The currently selected variant “debug“ uses split APKs, but none of the 1 split...的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • Android进阶之旅(第1天:后台相机)

            一转眼一天就过去了,不过我今天是全神贯注的努力了一天,收获只能说颇丰         先回顾下昨天的目标:10:53关手机睡觉(甚至还关了11点的闹钟)         尝试改毕设bug,gradle有问题,没有正常运行,就没改         Camera只是看了看,只能说看了一点点    

    2024年02月21日
    浏览(24)
  • fatal: The current branch master has no upstream branch之解决方法

            本地通过Git下载代码后进行了修改,在推送至远程仓库时缺少目标仓库地址 3.1 本地客户端远程连接目标仓库  git remote add origin https://github.com/**/*.git【自己的SSH】 3.2 推送本地代码至远程仓库分支 git push -u origin master         以上操作是在本地已经执行 add 及

    2024年02月15日
    浏览(39)
  • fatal: The current branch master has no upstream branch.之解决方法

            没有将本地的分支与远程仓库的分支进行关联         出现这种情况主要是由于远程仓库太多,且分支较多;在默认情况下, git push 时一般会上传到 origin 下的 master 分支上,然而当repository和branch过多,而又没有设置关联时,git就会产生疑问,因为它无法判断

    2024年02月09日
    浏览(45)
  • 多种方法解决There is no tracking information for the current branch的错误

    今天发布某版本的项目,准备创建个 v0point1 分支,后期如果修改该版本,直接在该分支上修改即可。 首先,使用 git branch v0point1 命令,创建本地分支 v0point1 ,如下图所示: 其次,使用 git checkout v0point1 命令,切换到 v0point1 分支,如下图所示: 当然,我们也可以使用 git ch

    2024年02月09日
    浏览(38)
  • 解决PackagesNotFoundError: The following packages are not available from current channels: tensorflo

    目录 1. 检查Python版本和环境 2. 检查pip和conda的配置 更新pip 更新conda 添加TensorFlow的channel 清除缓存并重新安装 3. 选择正确的TensorFlow版本 4. 使用虚拟环境 结论 解决PackagesNotFoundError: The following packages are not available from current channels: tensorflow 在使用Python进行机器学习和深度学习开

    2024年02月06日
    浏览(32)
  • PackagesNotFoundError: The following packages are not available from current channels的解决办法

    提示:是不是你也遇到了这样的问题? 示例:打开我们的anaconda Prompt , 输入:conda install -c conda-forge pyside2(这里以pyside2为例),有时候我们在python标准库里没有找到软件包时,conda-forge社区版也是一个不错的选择(能够解决大部分的问题) 提示:在输入框内输入自己想要找

    2023年04月26日
    浏览(35)
  • No matching variant of com.android.tools.build:gradle:7.4.2 was found.报错解决

    File -- Settings -- Build, Execution, Deployment -- Build Tools -- Gradle 把你的JDK版本切换到11 有用的话留赞,帮后面的人筛有用的回答咯

    2024年02月11日
    浏览(36)
  • 已解决PackagesNotFoundError: The following packages are not available from current channels: tensorflo

    已解决PackagesNotFoundError: The following packages are not available from current channels: tensorflo 下滑查看解决方法 PackagesNotFoundError: The following packages are not available from current channels: tensorflo 如果你遇到了 “PackagesNotFoundError: The following packages are not available from current channels: tensorflow” 的错误,

    2024年02月08日
    浏览(28)
  • No plugin found for prefix ‘install‘ in the current project and in the plugin groups 的解决方法

    【现象】 【解决方法】 settings.xml文件的mirrors,新增如下信息 新增后的截图如下:  

    2024年02月14日
    浏览(40)
  • Git出现There is no tracking information for the current branch提示的解决办法

    Git出现There is no tracking information for the current branch提示的解决办法 使用命令新建分支并切换到该分支 从远程获取代码 报错 There is no tracking information for the current branch. Please specify which branch you want to merge with. 意思是没有当前分支的追踪信息 解决: 以上两行命令可简写为 即将本

    2024年02月12日
    浏览(40)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包