草庐IT

install-option

全部标签

npm install vue@next 是报错npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscel

npminstallvue@next 是报错npmWARNregistryUnexpectedwarningforhttps://registry.npmjs.org/:MiscellaneousWarningETIMEDOUT:requesttohttps://registry.npmjs.org/vuefailed,reason:connectETIMEDOUT104.16.23.35:443npmWARNregistryUsingstaledatafromhttps://registry.npmjs.org/duetoarequesterrorduringrevalidation.npm

android - TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA 的 IntentNotFoundException

我正在尝试通过关注thisarticle来实现文本到语音的转换在Android开发者博客上。如果不支持,它会建议使用以下代码来安装文本到语音数据。IntentinstallIntent=newIntent();installIntent.setAction(TextToSpeech.Engine.ACTION_INSTALL_TTS_DATA);startActivity(installIntent);这会抛出一个Exception:ActivityNotFoundException:NoactivityfoundtohandleIntent但是,我使用的代码是here确定实际支持的I

android - Intellij Idea 日志 GradleConnectionException : Could not execute build using Gradle installation while building

我使用IntellijIdea13.1.1并且在构建时出现GradleConnectionException:Error:org.gradle.tooling.GradleConnectionException:CouldnotexecutebuildusingGradleinstallation'C:\Users\\.gradle\wrapper\dists\gradle-1.10-all\6vpvhqu0efs1fqmqr2decq1v12\gradle-1.10'.:CouldnotexecutebuildusingGradleinstallation'C:\Users\\.gr

Android APK [INSTALL_FAILED_NO_MATCHING_ABIS : Failed to extract native libraries, res=-113]

当我尝试在API26上安装android应用程序时。出现此错误。首先,我尝试使用构建工具版本-25.3.1遇到相同的问题,如下图所示。然后我将构建工具版本更新为26.0.1并将支持库版本更新为26.0.0。最近的GooglePlay服务版本-11.0.4。我已经检查了我正在使用的android库是否具有native代码,即C++代码,但我使用的每个库库都是用Java编写的,期望一个库包含一些PHP、Python和Ruby。我正在使用谷歌地图谷歌位置谷歌GCM。我已尝试在我的Gradle文件中包含ABI拆分,如前所述heresplits{abi{enabletruereset()incl

java - android 7 : NullPointerException on APK installing with Runtime. getRuntime().exec

我正在尝试使用常规Runtime.getRuntime.exec()例程在android7(三星和索尼)中安装APK。安装失败,logcat中出现以下异常:09-0414:14:33.93216623-16623/?D/AndroidRuntime:Callingmainentrycom.android.commands.pm.Pm09-0414:14:33.9393695-3876/?D/PackageInstaller:installationofandroid.content.pm.PackageInstaller$SessionParams@a4d2f0efornon-cont

android - 失败 [INSTALL_FAILED_OLDER_SDK] Android Studio

我是Android的新手,我正在使用AndroidStudio。我创建了一个新项目来展示HelloWorld!但由于此错误,我无法让它在AVD上运行:失败[INSTALL_FAILED_OLDER_SDK]。我已经搜索过答案,我知道它与build.gradle和minSdkVersion有关,但任何答案都对我有用。这是我的AndroidManifest.xml:这是我的build.gradle:applyplugin:'com.android.application'android{compileSdkVersion'android-L'buildToolsVersion"20.0.0

android - 签署 APK : Failure [INSTALL_FAILED_DEXOPT]. 。更新

生成的“app-release.apk”……在我的设计中不起作用,但“app-debug.apk”运行良好,更新:转到我的应用程序的先前版本后:在我的MainActivity中我有这个字符串:publicclassMainActivityextendsActionBarActivity{@OverrideprotectedvoidonCreate(BundlesavedInstanceState){super.onCreate(savedInstanceState);setContentView(R.layout.activity_main);finalStringPREFS_NAME

android - 任务 'install' 在根项目 'TestApp' 中不明确。候选为: 'installDebug' , 'installDebugAndroidTest'

我正在android中开发一个库项目。我想将我的库上传到JCenter。我已经创建了bintray帐户等并遵循了此处提到的所有步骤http://inthecheesefactory.com/blog/how-to-upload-library-to-jcenter-maven-central-as-dependency/en我在我的应用程序模块和库模块中做了以下更改。应用模块build.gradleapplyplugin:'com.android.application'android{compileSdkVersion22buildToolsVersion"22.0.1"defaul

Android 8 Bug : Starting apk installation via adb doesn't work, 需要权限 REQUEST_INSTALL_PACKAGES

我需要在android8手机上开始安装一个apk,但这应该不是静默的(adbinstall)。行为应该就像用户触摸了设备上的apk文件一样。在android8之前,可以像这样通过adb启动apk的安装:adbshellamstart-dfile:"///sdcard/foobar.apk"-pcom.google.android.packageinstaller这在android8上不再可能。根据日志文件,权限android.permission.REQUEST_INSTALL_PACKAGES是必需的。09-2516:39:55.69160666066EInstallStart:Re

default_url_options未调用(Rails 4)

我已经在ApplicationController类中设置了Default_url_options,以在URL中添加默认年度参数。classApplicationController我在视图中使用路径助手来建立指向控制器和动作的链接。它在我本地计算机上的开发和生产中正常工作,但是在服务器上的生产中,default_url_options从未被调用。为什么?编辑:开发过程正常。然后,问题在于生产。它将朝这个方向搜索。看答案只需通过配置文件进行设置Rails.root+config/environments/your_env.rbconfig.action_mailer.default_url_o