Device supports x86_64,but APK only supports armeabi

Device supports x86_64,but APK only supports armeabi

今天在创建虚拟机的时候发现这么一句话,于是我就开始思考,这话什么意思?为什么我在真机上没有看到过这样的意思。于是我就开始google之。现在将我的调查结果记录如下

第一篇-记录so文件一些问题

简介:做项目的时候经常会使用到so文件。例如使用高德地图,其SDK中就包含了armeabi、armeabi-v7a、arm64-v8a、x86等其他文件夹,里面通常放着同样名称、同样数量的so文件。实际使用过程中,关于这些so文件引发的问题确实不少,也不好解决。写下此文,希望以后遇到相关的问题,能有个大概的思路。

名词解析:
NDK:Native Development Kit
JNI:Java Native Interface
ABI: Application Binary Interface 应用二进制接口

Android Studio使用so库
1、使用和eclipse一样在libs目录下新建armeabi目录的方式
需要在build.gradle中添加指定jni库目录的语句
sourceSets {
main.jniLibs.srcDirs = ['libs'] //指定libs为jni的存放目录
}
2、使用AS默认的位置:src/main/jniLibs
直接在src/main/下新建jniLibs目录,将armeabi等目录放到该目录下即可
备注:AS可以直接右键新建同目录下的jniLibs目录,但该目录不是编译好的库文件目录,而是未编译的本地代码文件的目录(这里指的是与java同级的jni目录,放置cpp代码的)

android支持的cpu架构(目前是七种)
| 架构 | 说明 |
| :---------- | :--------------------------------------- |
| armeabi | 第5代 ARM v5TE,使用软件浮点运算,兼容所有ARM设备,通用性强,速度慢 |
| armeabi-v7a | 第7代 ARM v7,使用硬件浮点运算,具有高级扩展功能 |
| arm64-v8a | 第8代,64位,包含AArch32、AArch64两个执行状态对应32、64bit |
| x86 | intel 32位,一般用于平板 |
| x86_64 | intel 64位,一般用于平板 |
| mips | 少接触 |
| mips64 | 少接触 |

安装时的兼容性检查:
安装到系统中后,so文件会被提取在:data/app/com.xxxxxxxx.app-x/lib/目录下(5.0版本)、/data/app-lib/目录下(4.2版本),其中armeabi和armeabi-v7a会生成arm目录,arm64-v8a会生成arm64目录。
安装app的时候,如果app使用了so文件,而不存在适合本机cpu架构的so文件,会报如下错误:
Installation failed with message INSTALL_FAILED_NO_MATCHING_ABIS.
例如:在x86模拟器上就必须有x86版本的so文件夹。不然无法安装成功。

运行时的兼容性检查:
1、检查目标目录下是否存在的so库文件
2、检查存在的so文件是否符合当前cpu架构。
对于情况一,一般规避的做法是:保证jnilibs目录下x86、x84_64、armeabi、armeabi-v7a、arm64-v8a等目录下的文件名称数量是一致的。
例如:项目中使用了A、B、C三个第三方库。其中A、B提供了armebi以及arm64-v8a版本的库文件,而C只提供了armebi、armebi-v7a版本的库文件。这时候只能够删除原有的arm64-v8a目录,保留armeabi目录,一般arm64的手机都能兼容使用armeabi版本的库。或者复制一份armeabi的so文件到缺少的目录中(推荐)。

生成so文件:
NDK交叉编译时选定APP_ABI := armeabi x86 ...可以生成支持相应芯片的so文件。APP_ABI := all生成支持所有芯片指令集(目前七种)so文件。

Android加载so文件规则:
当你只提供了armeabi目录时,armeabi-v7a、arm64-v8a架构的程序都会去armeabi里寻找,而当你同时也提供了armeabi-v7a、armeabi-v8a目录,而里面又不存在对应的so库时,系统就不会再去armeabi里面寻找了,直接找不到报错。其他平台也是如此。这里我踩了不少的坑,切记。
一般来说,一些比较有名的第三方库都会提供armeabi、armeabi-v7a、x86这三种类型的so文件,同时拥有这三种版本的app可以在所有机型上运行。另外,越来越多的SDK会同时提供arm64-v8a版本。只包含armeabi的项目也可以在所有设备上运行。

现实案例:
我的项目中使用了armeabi、arm64-v8a两种类型,而当我需要使用某语音第三方库的时候,发现只提供了armeabi、armeabi-v7a两种类型的so文件,而我的手机是arm64-v8a的。所以只会使用arm64-v8a里面的so文件,当使用到该语音库时找不到对应的so库,就会报错。理论上有以下两种解决方法:
一、删除所有arm64-v8a,只保留armeabi,全部使用兼容性最高的版本,但也运行速度最慢。
二、将该语音库的armeabi版本的so复制到arm64-v8a中。单一so文件使用armeabi兼容版本。

总结:
当你使用到so文件时,保证每个子文件夹中文件名称数量都是一致的。
对于只提供armeabi的第三方库,复制一份armeabi的so文件到缺失的其他目录中;或者只保留armeabi目录(不推荐)

第二篇-标题问题解析

Android 的 so 库和 ABI 配置我原先也是没有什么概念的,直到上个周,在我尝试跑一个程序的时候,真机运行没问题,但是用伟大的模拟机的时候,遇到了这么一个错误:
160546ef80366566?w=600&h=136&f=png&s=18594
模拟机的下面显示:
Device supports x86,but APK only supports armeabi-v7a,armeabi,x86_64;
模拟机的设备是 x86,但是运行的这个程序的 apk 却只支持 armeabi-v7a,armeabi 和 x86_64 三种。
这个问题不仅仅是一个问题,它是很多个问题

是的,那么问题来了
x86,armeabi-v7a,armeabi,x86_64 到底是什么玩意?
我们的代码是在哪里设置apk对它们支持的?
怎么查看和设置模拟机的支持类型?
为什么我连接的真机大华为 HUAWEI PE-TL20 没有显示这样的错误?

宝宝发现了真相,快来夸我

为了弄明白上面的几个疑问,我 google 了很多相关方面的内容,终于召唤真相~~下面一个个来解释~
1.x86,armeabi-v7a,armeabi,x86_64 到底是什么玩意?
这四个玩意都是 CPU 架构类型的名称。 目前 android 支持的 CPU 架构有有以下几种:

CPU架构描述
armeabi第5代 ARM v5TE,使用软件浮点运算,兼容所有ARM设备,通用性强,速度慢
armeabi-v7a第7代 ARM v7,使用硬件浮点运算,具有高级扩展功能
arm64-v8a第8代,64位,包含AArch32、AArch64两个执行状态对应32、64bit
x86intel 32位,一般用于平板
x86_64intel 64位,一般用于平板
mips少接触
mips64少接触

2.我们的代码是在哪里设置apk对它们支持的?
如果你和我用的开发工具都是 Android Studio 的话,那么在程序的主module 的 build.gradle中你会发现有这么个代码:

defaultConfig { ndk { abiFilters "armeabi", "armeabi-v7a", "x86_64" } }

就是这里设置了支持的 CPU 的类型, 和刚才提示的 apk 支持的 CPU的类型是一模一样的. 但是,在这里,我也发现了一个不认识的标签属性 abiFiliter
硬翻过来是 abi 过滤器, abi 是什么?
ABI, (application binary interface,缩写为ABI),应用二进制接口。在计算机中,ABI 描述了应用程序(或者其他类型)和操作系统之间或其他应用程序的低级接口

3.怎么查看和设置模拟机的支持类型?
这个问题非常简单,我们在创建一个模拟机的时候,就有 ABI 的选择,因为粗心,之前一直都没有发现,看下图:
160546ef80158f4e?w=600&h=280&f=png&s=38289
4.为什么我连接的真机大华为 HUAWEI PE-TL20 没有显示这样的错误?
问题解决到这里,我们几乎都猜到了答案,就是大华为 HUAWEI PE-TL20 这个设备支持的CPU 架构 ,肯定是 代码中支持的 armeabi-v7a,armeabi,x86_64 中的一种。
到底是其中的哪一个呢?我们可以通过adb命令行的方式查看。
具体步骤: 1.连接手机到电脑上 2.打开 cmd 命令窗口,输入命令 adb shell
3.然后输入命令 cat /proc/cpuinfo

如果你使用adb的过程中,出现了adb错误“'adb' 不是内部或外部命令,也不是可运行的程序或批处理文件
,不要慌,这是因为没有配置 adb 的环境变量,配置一下,就好了。具体配置步骤,可以移步这里 adb错误“’adb’ 不是内部或外部命令,也不是可运行的程序或批处理文件
大华为 HUAWEI PE-TL20 的结果如下:
160546ef82d3f95c?w=600&h=226&f=png&s=2836
显示是ARMv7, 对应的应该是armeabi-v7a,看来我们的猜测果然是对的。

第三篇

Android can run on several different computer architectures. This document discusses the different CPU architectures that may be employed for a Xamarin.Android application. This document will also explain how Android applications are packaged to support different CPU architectures. The Application Binary Interface (ABI) will be introduced, and guidance will be provided regarding which ABIs to use in a Xamarin.Android application.

Overview

Android allows for the creation of "fat binaries," a single .apk file that contains machine code that will support multiple, different CPU architectures. This is accomplished by associating each piece of machine code with an Application Binary Interface. The ABI is used to control which machine code will run on a given hardware device. For example, for an Android application to run on an x86 device, it is necessary to include x86 ABI support when compiling the application.

Specifically, each Android application will support at least one embedded-application binary interface (EABI). EABI are conventions specific to embedded software programs. A typical EABI will describe things such as:

  • The CPU instruction set.
  • The endianness of memory stores and loads at run time.
  • The binary format of object files and program libraries, as well as which type of content is allowed or supported in these files and libraries.
  • The various conventions used to pass data between application code and the system (for example: how registers and/or the stack are used when functions are called, alignment constraints, etc.)
  • Alignment and size constraints for enum types, structures, fields, and arrays.
  • The list of function symbols available to your machine code at run time, generally from a very specific selected set of libraries.

armeabi and Thread Safety

The Application Binary Interface will be discussed in detail below, but it is important to remember that the armeabi runtime used by Xamarin.Android is not thread safe. If an application that has armeabi support is deployed to an armeabi-v7a device, many strange and unexplainable exceptions will occur.

Due to a bug in Android 4.0.0, 4.0.1, 4.0.2, and 4.0.3, the native libraries will be picked up from the armeabi directory even though there is an armeabi-v7a directory present and the device is an armeabi-v7a device.

Note: Xamarin.Android will ensure that .so are added to the APK in the correct order. This bug should not be an issue for users of Xamarin.Android.

ABI Descriptions

Each ABI supported by Android is identified by a unique name.

armeabi

This is the name of an EABI for ARM-based CPUs that support at least the ARMv5TE instruction set. Android follows the little-endian ARM GNU/Linux ABI. This ABI does not support hardware-assisted floating-point computations. All FP operations are performed by software helper functions that come from the compiler's libgcc.a static library. SMP devices are not supported by armeabi.

Note: Xamarin.Android's armeabi code is not thread safe and should not be used on multi-CPU armeabi-v7a devices (described below). Using aremabi code on a single-core armeabi-v7a device is safe.

armeabi-v7a

This is another ARM-based CPU instruction set that extends the armeabi EABI described above. The armeabi-v7a EABI has support for hardware floating-point operations and multiple CPU (SMP) devices. An application that uses the armeabi-v7a EABI can expect substantial performance improvements over an application that uses armeabi.
Note: armeabi-v7a
machine code will not run on ARMv5 devices.

arm64-v8a

This is a 64-bit instruction set that is based on the ARMv8 CPU architecture. This architecture is used in the Nexus 9. Xamarin.Android 5.1 provides experimental support for this architecture (for more information, see Experimental Features).

x86

This is the name of an ABI for CPUs that support the instruction set commonly named x86 or IA-32. This ABI corresponds to instructions for the Pentium Pro instruction set, including the MMX, SSE, SSE2, and SSE3 instruction sets. It does not include any other optional IA-32 instruction set extensions such as:

  • the MOVBE instruction.
  • Supplemental SSE3 extension (SSSE3).
  • any variant of SSE4.

Note: Google TV, although it runs on x86, is not supported by Android's NDK or by Xamarin.Android.

x86_64

This is the name of an ABI for CPUs that support the 64-bit x86 instruction set (also referred to as x64 or AMD64). Xamarin.Android 5.1 provides experimental support for this architecture (for more information, see Experimental Features).

mips

This is the name of an ABI for MIPS-based CPUs that support at least the MIPS32r1 instruction set. Neither MIPS 16 nor micromips are supported by Android.

Note: MIPS devices are not currently supported by Xamarin.Android, but will be in a future release.

APK File Format

The Android Application Package is the file format that holds all of the code, assets,resources, and certificates necessary for an Android application. It is a .zip file, but uses the .apk file name extension. When expanded, the contents of an .apk created by Xamarin.Android can be seen in the screenshot below:
Contents of the .apk
A quick description of the contents of the .apk file:

  • AndroidManifest.xml – This is the AndroidManifest.xml file, in binary XML format.
  • classes.dex – This contains the application code, compiled into the dex file format that is used by the Android runtime VM.
  • resources.arsc – This file contains all of the precompiled resources for the application.
  • lib – This directory holds the compiled code for each ABI. It will contain one subfolder for each ABI that was described in the previous section. In the screenshot above, the .apk
    in question has native libraries for both armeabi-v7a and for x86.
  • META-INF – This directory (if present) is used to store signing information, package, and extension configuration data.
  • res – This directory holds the resources that were not compiled into resources.arsc.

    Note: The file libmonodroid.so is the native library required by all Xamarin.Android applications.

Android Device ABI Support

Each Android device supports executing native code in up to two ABIs:

  • The "primary" ABI – This corresponds to the machine code used in the system image.
  • A "secondary" ABI – This is an optional ABI that is also supported by the system image.
    For example, a typical ARMv5TE device will only have a primary ABI of armeabi, while an ARMv7 device would specify a primary ABI of armeabi-v7a and a secondary ABI of armeabi. A typical x86 device would only specify a primary ABI of x86.

Android Native Library Installation

At package installation time, native libraries within the .apk are extracted into the app's native library directory, typically /data/data//lib, and are thereafter referred to as $APP/lib.

Android's native library installation behavior varies dramatically between Android versions.

Installing Native Libraries: Pre-Android 4.0

Android prior to 4.0 Ice Cream Sandwich will only extract native libraries from a single ABI within the .apk. Android apps of this vintage will first try to extract all native libraries for the primary ABI, and if no such libraries exist, Android will then extract all native libraries for the secondary ABI. No "merging" is done.

For example, consider a situation where an application is installed on an armeabi-v7a device. The .apk, which supports both armeabi and armeabi-v7a, has the following ABI lib directories and files in it:

lib/armeabi/libone.so
lib/armeabi/libtwo.so
lib/armeabi-v7a/libtwo.so

After installation, the native library directory will contain:

$APP/lib/libtwo.so # from the armeabi-v7a directory in the apk

In other words, no libone.so is installed. This will cause problems, as libone.so is not present for the application to load at run time. This behavior, while unexpected, has been logged as a bug and reclassified as "working as intended."

Consequently, when targeting Android versions prior to 4.0, it is necessary to provide all native libraries for each ABI that the application will support, that is, the .apk
should contain:

lib/armeabi/libone.so
lib/armeabi/libtwo.so
lib/armeabi-v7a/libone.so
lib/armeabi-v7a/libtwo.so

Installing Native Libraries: Android 4.0 – Android 4.0.3

Android 4.0 Ice Cream Sandwich changes the extraction logic. It will enumerate all native libraries, see if the file's basename has already been extracted, and if both of the following conditions are met, then the library will be extracted:

  • It hasn't already been extracted.
  • The native library's ABI matches the target's primary or secondary ABI.
    Meeting these conditions allows "merging" behavior; that is, if we have an .apk
    with the following contents:
lib/armeabi/libone.so
lib/armeabi/libtwo.so
lib/armeabi-v7a/libtwo.so

Then after installation, the native library directory will contain:

$APP/lib/libone.so
$APP/lib/libtwo.so

Unfortunately, this behavior is order dependent, as described in the following document - Issue 24321: Galaxy Nexus 4.0.2 uses armeabi native code when both armeabi and armeabi-v7a is included in apk.

The native libraries are processed "in order" (as listed by, for example, unzip), and the first match is extracted. Since the .apk contains armeabi and armeabi-v7a versions of libtwo.so, and the armeabi is listed first, it's the armeabi version that is extracted, not the armeabi-v7a version:

$APP/lib/libone.so # armeabi$APP/lib/libtwo.so # armeabi, NOT armeabi-v7a!

Furthermore, even if both armeabi and armeabi-v7a ABIs are specified (as described below in the section Declaring Supported ABIs), Xamarin.Android will create the following element in the . csproj:

<AndroidSupportedAbis>armeabi,armeabi-v7a</AndroidSupportedAbis>

Consequently, the armeabi libmonodroid.so will be found first within the .apk, and the armeabi libmonodroid.so will be the one that is extracted, even though the armeabi-v7a libmonodroid.so is present and optimized for the target. This can also result in obscure run-time errors,as armeabi is not SMP safe.

Installing Native Libraries: Android 4.0.4 and later

Android 4.0.4 changes the extraction logic: it will enumerate all native libraries, read the file's basename, then extract the primary ABI version (if present), or the secondary ABI (if present). This allows "merging" behavior; that is, if we have an .apk
with the following contents:

lib/armeabi/libone.so
lib/armeabi/libtwo.so
lib/armeabi-v7a/libtwo.so

Then after installation, the native library directory will contain:

$APP/lib/libone.so # from armeabi
$APP/lib/libtwo.so # from armeabi-v7a

Xamarin.Android and ABIs

Xamarin.Android supports the following architectures:

  • armeabi
  • armeabi-v7a
  • x86
    Xamarin.Android provides experimental support for the following architectures:
  • arm64-v8a
  • x86_64

Note that 64-bit runtimes are not required in order to run your app on 64-bit devices. For more information about experimental features in Xamarin.Android 5.1, see Experimental Features.
Xamarin.Android does not currently provide support for mips.

Declaring Supported ABI's

By default, Xamarin.Android will default to armeabi-v7a for Release builds, and to armeabi-v7a and x86 for Debug builds. Support for different ABIs can be set through the Project Options for a Xamarin.Android project. In Visual Studio, this can be set in the Android Options page of project Properties, under the Advanced tab, as shown in the following screenshot:
Android Options Advanced properties
In Xamarin Studio, the supported architectures may be selected on the Android Build page of Project Options, under the Advanced tab, as shown in the following screenshot:
Android Build Supported ABIs
There are some situations when it may be necessary to declare additional ABI support such as when:

  • Deploying the application to an x86 device.
  • Deploying the application to an armeabi-v7a device to ensure thread safety.

Summary

This document discussed the different CPU architectures that an Android application may run on. It introduced the Application Binary Interface and how it is used by Android to support disparate CPU architectures. It then went on to discuss how to specify ABI support in a Xamarin.Android application and highlighted the issues that arise when using Xamarin.Android applications on an armeabi-v7a
device that are intended only for armeabi.

转载于:https://www.cnblogs.com/bokmark/p/10027642.html

Android遇到的问题,解决方法和一些小技巧,kotlin线程安全 解决方法: //我们在Activity中去动态修改背景颜色,就不需要重新再写一个shape了。是不是很方便 GradientDrawable drawable =(GradientDrawable)view.getBackground(); drawable.setColor(getResources().getColor(color)); 2.android studio 创建新项目一直building解决 主要原因,可能是你的Android studio的版本与之对应不上,或者是被墙了。导致下载不.. 阅读详情

相关推荐

PX4固件下VTOL固定翼的3种起飞方式对比:手抛vs弹射vs跑道

本文深度解析PX4固件下VTOL固定翼的三种起飞方式:手抛、弹射与跑道起飞,对比其技术差异与适用场景。通过详细的参数配置和工程实践指南,帮助开发者优化起飞性能,提升无人机在不同环境下的适应性和可靠性。文章特别针对PX4飞控系统的最新特性进行了技术探讨。

weixin_30296405的博客 93

Android:Device supports x86, but APK only supports armeabi, armeabi-v7a,arm64-v8a on device

一、前言:在我运行app的时候出现如下错误二、解决方案:我也在网上查了很多,经过自己的尝试验证过的结论分享给大家。

Rssqzqyp的博客 5790

新手别怕!用‘东北天’和‘右前上’坐标系,5分钟搞懂惯性导航姿态矩阵(含Python验证代码)

本文通过‘东北天(ENU)’和‘右前上(RFU)’坐标系,详细解析惯性导航中的姿态矩阵概念。包含Python代码验证,帮助新手快速理解坐标变换、欧拉角及旋转矩阵的构建与应用,特别强调有限转动不可交换性与无限转动次序无关的区别。

weixin_29062255的博客 338

Android-Device supports x86,but APK only supports armeabi-v7a,armeabi,x86_64

最近最项目遇到的一个问题: Android 的 so 库和 ABI 配置我原先也是没有什么概念的,直到上个周,在我尝试跑一个程序的时候,真机运行没问题,但是用伟大的模拟机的时候,遇到了这么一个错误: 模拟机的下面显示:Device supports x86,but APK only supports armeabi-v7a,armeabi,x86_64;模拟机的设备是 x86,但是运行的这个程序

万物weiyi 2万+

STM32玩转C++:从Arduino库到HAL库的封装思路(Clion环境配置指南)

本文介绍了如何在STM32开发中使用C++封装HAL库,从Arduino风格过渡到更高效的开发方式。通过Clion环境配置指南和详细的代码示例,展示了如何利用C++的面向对象特性简化GPIO、UART等外设操作,提升代码可读性和开发效率。特别适合嵌入式开发者和从Arduino转向STM32的开发者。

weixin_33737134的博客 341

Ubuntu 24.04 部署 EMQX 5.8 开源版MQTT服务器:从零搭建到实战应用

本文详细指导如何在Ubuntu 24.04系统上部署EMQX 5.8开源版MQTT服务器。内容涵盖从环境准备、安装Erlang、下载安装包到启动服务的完整步骤,并提供了验证服务、配置网络防火墙以及通过WebSocket工具进行基础消息收发的实战方法,帮助用户快速搭建稳定、免费的物联网消息中间件。

weixin_29209825的博客 300

解决运行模拟器报错: Device supports x86,but APK only supports armeabi-v7a,armeabi,x86_64;

在app所在的build.gradle中的defalutConfig中 配置如下:

每天进步一点点。 1459

常用元器件使用方法13:物理层接口芯片DP83848的使用方法

介绍: DP83848是以太网物理层接口芯片,具有多种型号,从便于焊接角度考虑LQFP-48封装较为合适,采用LQFP-48封装的芯片,有2种型号,分别为DP83848I和DP83848C,如下图所示。 其主要区别是使用温度不同,如下图所示。 这2种芯片芯片网上均有销售,按理说DP83848C价格应该更加便宜,实际不然,DP83848I的价格低于DP83848C,考虑或与芯片的出货量...

snmplink的博客 1万+

Android-ABIFilter-Device supports x86,but APK only supports armeabi-v7a,armeabi,x86_64

我遇到一个小问题Android 的 so 库和 ABI 配置我原先也是没有什么概念的,直到上个周,在我尝试跑一个程序的时候,真机运行没问题,但是用伟大的模拟机的时候,遇到了这么一个错误:模拟机的下面显示:Device supports x86,but APK only supports armeabi-v7a,armeabi,x86_64;模拟机的设备是 x86,但是运行的这个程序的 apk 却只支

浅浅同学的开发笔记 4万+

用 Custom Entity 打造 RAP Value Help:从能跑到好用的深度踩坑笔记

本文介绍了在RAP项目中实现Value Help(Fiori输入帮助)的完整流程。通过Custom Entity方式,开发者可以灵活构建不依赖数据库实体的值帮助功能,但需手动实现CDS原本提供的过滤、排序、分页等能力。文章以一个典型场景为例,详细说明了如何为Partner维护界面的City字段创建可搜索的值帮助,包括创建查询实现类、绑定CDS Custom Entity、服务发布等关键步骤,并特别指出了处理排序分页请求等常见问题。最后强调在ABAP Cloud环境下需要自行实现查询能力,而非依赖传统工具类。

2007 年 ~ 2025 年,深耕 SAP 技术 18 年 148

2025年全国青少年信息素养大赛复赛真题(算法创意实践挑战赛C++初中组试卷1:带解析)(7月6日试卷)

2025年全国青少年信息素养大赛复赛真题(算法创意实践挑战赛C++初中组试卷1:带解析)(7月6日试卷)

王老师青少年编程 1982

Device supports x86,but APK only supports armeabi-v7a,armeabi,x86_64;

简介:做项目的时候经常会使用到so文件。例如使用高德地图,其SDK中就包含了armeabi、armeabi-v7a、arm64-v8a、x86等其他文件夹,里面通常放着同样名称、同样数量的so文件。实际使用过程中,关于这些so文件引发的问题确实不少,也不好解决。写下此文,希望以后遇到相关的问题,能有个大概的思路。   名词解析:     NDK:Native Development Kit ...

kdsde的专栏 2880

微信小程序 - error_msg:net::ERR_CONNECTION_RESET“(“errno“:600001,“errMsg“:“uploadFile:fail errcode:-101)

"errno":600001,"errMsg":"uploadFile:fail errcode:-101 cronet_error_code:-101 error_msg:net::ERR_CONNECTION_RESET"微信小程序,微信小程序wx.uploadFile报错,uniapp微信小程序uni.uploadFile上传文件报错,微信小程序调用wx.uploadFile返回错误ERR_CONNECTION_RESET,如何解决这个问题,上传图片出现报错,小程序上传视频报错,上传文件出现报错,如何

🏆 前端领域优质创作者 5437

运行程序出现:Android device supports but apk only supports armeabi,x86,x86_64

Device supports x86,armeabi-v7a,but APK only supports armabi 类似的问题 前提:在使用手机进行测试时,手机必须调成开发者模式且将USB调试打开。目前手机的开发者模式在手机版本号多点击几次(大于5次),再返回设置界面,在其他选项中可以找到开发者模式和usb调试,都将其打开。模式开启具体可能记不大清楚了,可以自行百度。 解决办法:找...

qq_22169787的博客 1277

pscad IEEE标准系统搭建说明

pscad IEEE标准系统搭建说明,包含典型的IEEE 9节点、14节点、30节点、39节点和118节点系统。内含标准测试系统的原始数据和潮流结果。

ssm框架搭建

这个是一个在idea上成功跑起来的ssm框架项目,保存在这里方便以后使用直接下载

Android device supports but apk only supports armeabi,x86,x86_64

       相信大家在用真机或者模拟机调试时,或多或少会遇到这个问题,好不容易代码代码敲完,期待着一把过,结果 OK 键一点,毫无征兆的弹出这么一个提示框 是不是一个大大的问号脸? 提示框的内容是:Device supports ,but APK only supports armeabi,x86; 啥意思?就是段位不够,无法匹配 呸呸呸,意思就是你设备的架构是....但是这ap...

LBJ_Demo的博客 1万+

WINCC7.3破解文件

WINCC7.3硬件够破解文件,有需要的下载!WINCC7.3硬件够破解文件,有需要的下载!

Device supports,but APK only supports armeabi-v7a,arm64-v8a,x86;

Device supports,but APK only supports…@TOC 今天调试程序出现 Device supports,but APK only supports armeabi-v7a,arm64-v8a,x86; adb查看设备cpu架构类型 AArch64是ARMv8 架构的一种执行状态。 所以不存在设备不支持的情况; 最终解决办法:换了个usb插口就ok了 ...

yiy91的博客 3435

汉书HE8,好用的汇编代码编写工具

汉书HE8,好用的汇编代码编写工具早期编写汇编代码所用功能强大

Androidstudio调试真机Unkown,Device supports x86,but APK only supports armeabi-v7a,armeabi,x86_64

1、360的adb阻塞了,在关闭任务管理器进程的关闭360adb 2、关闭adb win+R调出控制台,在控制台输入adb kill-server 3、重启ADB 在控制台输入adb start-server 4、重新刷新Android Studio 问题解决 ...

南风子的博客 2076

轻松解决 模拟器 Device supports x86,but APK only supports armeabi-v7a,armeabi,x86_64;

在app所在的build.gradle中的DefalutConfig中  配置如下 即可轻松解决该问题!

Ziv的博客 2245

Androidstudio调试真机提示-Device supports x86,but APK only supports armeabi-v7a,armeabi,x86_64

问题解决: 1、360的adb阻塞了,在关闭任务管理器进程的关闭360adb 2、关闭adb win+R调出控制台,在控制台输入adb kill-server 3、重启ADB 在控制台输入adb start-server 4、重新刷新Android Studio 问题解决 转载于:https://www.cnblogs.com/liangtf/p/8250767...

weixin_30299539的博客 327
上一篇: 《Android 开发艺术探索》读后笔记 ----- 第一章
下一篇: VLC-Android 在ubuntu环境下编译
all68896
博客等级 码龄12年 0粉丝 0原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值