草庐IT

Build_Settings

全部标签

Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“(已解决)

这个error的产生原因是,因为我们在install一些python包的时候,由于windows需要一个c++编译器而产生的(我道听途说的)。这里,我install的是inplace_abn,是一个训练深度神经网络是用于有效的减少内存消耗的计算方式,其github网址:GitHub-mapillary/inplace_abn:In-PlaceActivatedBatchNormforMemory-OptimizedTrainingofDNNs原文地址:1712.02616.pdf(arxiv.org) 可以看看这个博客:(11条消息)网络优化--(INPLACE-ABN)In-PlaceAct

Android Studio 3.0.1 - 无法保存设置 : Failed to save settings. 请重启 Android Studio

我知道这是一个重复的问题,但我没有找到针对该问题经过验证的任何答案。我做了这个问题的所有解决方案:AndroidStudio3.0-Unabletosavesettings:Failedtosavesettings.PleaserestartAndroidStudio但是如果我的项目不是本地项目而是Git上的远程项目怎么办。每次我从git中拉出master时,都会出现这个问题。即使在更新Studio后,问题也出现在版本3.0中我的AndroidStudio版本是3.0.1 最佳答案 这并不容易,因为错误看起来不像我上面提到的问题中的

android - Android Studio ndk-build使用非零值2完成

我昨天把我的android工作室更新到3.1.3,然后之前使用ndk的旧项目在那之后就不能工作了,并给我这样的回复:Process'command'/Users/new-User/Library/Android/sdk/ndk-bundle/ndk-build''finishedwithnon-zeroexitvalue2我试过的:撤消所有.cpp和.h更改,然后再次运行--仍然是此错误找到项目的旧版本以保证其正常工作并运行它——也会得到此错误检查目录名是否有空格--没有空格检查ndk目录——无更改这是build.gradle中与ndk相关的部分:taskndkBuild(type:E

android - hello-jni NDK 示例 - ndk-build 失败

我正在按照http://developer.android.com/sdk/ndk/overview.html上的步骤操作构建hello-jni示例,但是当我进入第2步运行时cd$NDK-ROOT/samples/hello-jni$NDK-ROOT/ndk-build在Cygwin命令提示符中,我收到以下错误消息:/bin/sh:-c:line0:unexpectedEOFwhilelookingformatching`''/bin/sh:-c:line1:syntaxerror:unexpectedendoffileAndroidNDK:Hostawktoolisoutdated.

java - Android NDK ndk-build helloJni错误

我正在尝试从NDK样本运行HelloJni程序。我正在使用eclipsejuno。另外,没有生成“.so”文件。但是在ndk-build项目时,我在控制台中收到以下消息:****BuildofconfigurationDefaultforprojectHelloJni****/home/ethics-14/android-ndk/ndk-buildallAndroidNDK:WARNING:APP_PLATFORMandroid-19islargerthanandroid:minSdkVersion10in./AndroidManifest.xml[arm64-v8a]Gdbserve

android - Android API 23 中删除了 Settings.System.VOLUME_SETTINGS?

看起来android.provider.Settings.System.VOLUME_SETTINGS字段已从AndroidSDK中删除。我找不到有关它的任何信息,但该应用程序不会在sdk版本设置为23的情况下进行编译。同样在developer.android.com上,缺少该字段。然而,在页面的缓存版本中它存在。谁能证实这一点?谢谢。 最佳答案 音量设置仍然存在,但不再暴露。然而,它们只是字符串,因此如果您使用getUriFor(),您可以只传递您在Android代码中看到的字符串。引用:android.provider.Sett

android - ionic 中的 "Error ; spawn cmd ENOENT"(ionic build android 命令)

我正在使用ionic框架构建一个应用程序。当我执行命令“ionicbuildandroid”时,它显示以下消息。C:\Windows\System32\todo>ionicbuildandroidRunningcommand:"C:\ProgramFiles\nodejs\node.exe"C:\Windows\System32\todo\hooks\after_prepare\010_add_platform_class.jsC:\Windows\System32\todoaddtobodyclass:platform-androidANDROID_HOME=C:\ProgramFi

android - java.io.filenotfoundexception :/home/ljh/. android/analytics.settings(权限被拒绝)

当我启动Androidstudio时,我得到了couldnotinitializeanalytics,treatingasopt-out.java.io.filenotfoundexception:/home/ljh/.android/analytics.settings(permissiondenied)我该怎么办?我的操作系统是Ubuntu32位 最佳答案 解决方案是在你的ubuntu机器上安装这些32位库sudodpkg--add-architecturei386sudoapt-get-qqyupdatesudoapt-get

android - Problemas build Cordova 项目

使用最新的androidstudiosdk版本,当我cordovabuildandroid一个ionic项目时,出现以下错误:Error:CouldnotfindgradlewrapperwithinAndroidSDK.MightneedtoupdateyourAndroidSDK.Lookedhere:/home/jacsjr/Android/Sdk/tools/templates/gradle/wrapperANDROID_HOME指向android-studioSdk文件夹,但缺少/tools/templates。我已经在堆栈溢出时在这里尝试了一些awnsers,但运气不佳。下

Android Studio : Unable to find any references to the Android Gradle plug-in in build. 渐变文件

我尝试从Eclipse迁移到AndroidStudio,但我在androidstudio控制台中收到此错误:13:52:44QuickFixFailedUnabletofindanyreferencestotheAndroidGradleplug-ininbuild.gradlefiles.Pleaseclickthelinktoperformatextualsearchandthenupdatethebuildfilesmanually.这是我的build.gradle文件的内容:applyplugin:'android'dependencies{compilefileTree(di