草庐IT

installer_location

全部标签

android - Apk 无法在 Android N 上安装,出现 INSTALL_FAILED_INVALID_APK 错误

我尝试使用adbinstall安装apk,但是当我尝试安装它时出现以下错误,Failure[INSTALL_FAILED_INVALID_APK:Packagecouldn'tbeinstalledin/data/app/conform.src.com.conform-1:Package/data/app/conform.src.com.conform-1/base.apkcodeismissing] 最佳答案 我在安装AOSP构建的apks时遇到了同样的问题。我做了mmDEX_PREOPT_DEFAULT=nostripping它

❤ npm install 时报Error: spawn git ENOENT

❤npminstall时报Error:spawngitENOENT原因:主要是因为由于git的环境变量未设置导致,所以安装一下git的环境变量就O了,步骤如下:设置>>系统>>高级系统设置>>高级>>环境变量>>系统变量:添加一下git的安装地址在环境变量的path里添加上C:\ProgramFiles\Git\cmd就可以了。路径根据你的git的安装目录调整1.重新安装Git2.环境变量配置path3.gitinit

android - 打开 pdf 文件错误 : This file could not be accessed Check the location or the network and try again. Android 6 Marshmallow

我正在尝试从外部存储中获取文件,然后我必须使用intents将该文件发送给pdf阅读器。之前下面的代码运行良好,但在安装Android6(Marshmallow更新)后,我的代码无法运行并收到toast消息“无法访问此文件请检查位置或网络并重试。”(这是由于新的android运行时权限)。我刚刚尝试了所有的解决方案(内容提供商等但没有工作)任何解决方案?Filefile=newFile(getFilesDir(),"myfile.pdf");Intentintent=newIntent(Intent.ACTION_VIEW);intent.setDataAndType(Uri.from

Android "ant install"失败并显示 "Install file not specified."

我做了一个项目,当我运行“antinstall”时,我得到以下信息:install:[echo]Installfilenotspecified.[echo][echo]'antinstall'nowrequiresthebuildtargettobespecifiedaswell.[echo][echo][echo]antdebuginstall[echo]antreleaseinstall[echo]antinstrumentinstall[echo]Thiswillbuildthegivenpackageandinstallit.[echo][echo]Alternatively,

android - 无法启动快捷方式 : Application is not installed on your phone

我正在尝试为我的AndroidActivity之一创建桌面快捷方式。我使用的代码适用于我读过的每个tuto示例:finalIntentshortcutIntent=newIntent(Intent.ACTION_MAIN);ComponentNamename=newComponentName(getPackageName(),".MyActivity");shortcutIntent.setComponent(name);shortcutIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);shortcutIntent.addFlags(Inte

安卓工作室 : install Release App by command line

我想从命令行导出apk文件“releaseapk”当我运行此命令时:gradlewinstallRelease我发现了这个AndroidStudioTask'installRelease'notfoundinrootproject''.Somecandidatesare:'uninstallRelease'.我该如何解决? 最佳答案 我的经验是,直到您在构建的buildTypes.releaseblock中定义signingConfigs后,installRelease任务才可用文件,如SigninginReleaseMode的第3

Failed to install the following Android SDK packages as some licences have not been accepted. bu

报错信息Android开发者工具、Android开发者构建工具28.0.3、Android开发者平台28的协议都没有被接受。FailedtoinstallthefollowingAndroidSDKpackagesassomelicenceshavenotbeenaccepted.build-tools;28.0.3AndroidSDKBuild-Tools28.0.3toolsAndroidSDKToolsplatforms;android-28AndroidSDKPlatform28Tobuildthisproject,accepttheSDKlicenseagreementsandins

安卓 map : Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY

我正在按照HelloMapView中的说明尝试使用Androidmap.我添加了在list中,我正在针对“GoogleAPI”目标进行构建,该目标声称是API版本7。所以我认为我没有做任何明显错误的事情,但该项目拒绝构建并出现此错误:[2010-12-2213:34:32-FMS]InstallingFMS.apk...[2010-12-2213:35:01-FMS]Installationerror:INSTALL_FAILED_MISSING_SHARED_LIBRARY[2010-12-2213:35:01-FMS]Pleasechecklogcatoutputformorede

android - 安装错误 : INSTALL_PARSE_FAILED_MANIFEST_MALFORMED

我在安装应用程序时遇到奇怪的问题。我已经创建了GoogleMapV2示例并且运行良好。在所有成功之后,我已经将JAVA-XML-Manifest文件集成到我的旧项目中。当我编译我的项目时没有错误但是当我尝试启动它时显示给我安装错误:INSTALL_PARSE_FAILED_MANIFEST_MALFORMED错误。我正在关注thislink以GoogleMapV2为例。Logcate很奇怪。我找不到问题。我已经尝试了很多与Installationerror:INSTALL_PARSE_FAILED_MANIFEST_MALFORMED错误相关的事情,并且也遵循了该规则,但是出了点问题。

android - 从 Location 对象获取卫星数量

我正在使用GPS提供商和LocationListener.onLocationChanged(Locationlocation)来接收位置修正。Documentation说,那个Location.getExtras()包含下一个键/值对:satellites-thenumberofsatellitesusedtoderivethefix但实际上我得到了一个空的额外对象——那里没有任何数据。这是否意味着我得到的是A-GPS定位而不是GPS? 最佳答案 要获取GPS引擎使用的卫星数量,您需要实现android.location.GpsS