草庐IT

build-output

全部标签

android - react native : Build failed with an exception

从0.17升级到0.19之后,每次我尝试构建应用程序使用(react-nativerun-android)。我试过降级回0.17,但没有用,问题是一样的。我也在网上搜索过,但找不到与我的问题类似的任何内容。我想问题出在gradle而不是react-native本身,但我不知道如何解决它?!这里是错误:StartingJSserver...StartingthepackagerinanewwindowisnotsupportedonWindowsyet.Pleasestartitmanuallyusing'react-nativestart'.WebelievethebestWindow

java - 错误 :Failed to capture snapshot of output files for task 'transformClassesWithDexForDebug' during up-to-date check

我是Android应用程序开发的新手,正在尝试构建一个简单的界面,但我遇到了这个错误。我该如何解决?整个错误声明是这样的:错误:在最新检查期间无法捕获任务“transformClassesWithDexForDebug”的输出文件快照。java.io.FileNotFoundException:F:\AndroidStudioProjects\thirdone\app\build\intermediates\transforms\dex\debug\folders\1000\10\com.android.support-appcompat-v7-25.0.1_b5d942cb3c7f3

android - 意外的字符 '\' build.gradle

我最近将我的Eclipse项目导入了Studio。我通过Eclipse中的gradleexport将其导出。导入后出现此错误。Error:(16,0)Cause:startupfailed:buildfile'D:\Android\Projects\MainDIr\Project\build.gradle':16:unexpectedchar:'\'@line16,column34.java.srcDirs=['libs\ormlite-android','libs\ormlite-core','src']^1error我的build.gradle中的4行标记为红色。这些引用了libs

android - 构建错误 Ionic Android : Build failed with an exception

我尝试为android构建一个ionic应用程序,但我遇到了这个错误:Whatwentwrong:Aproblemoccurredconfiguringrootproject'android'.>Couldnotresolvealldependenciesforconfiguration':_debugCompile'.>Couldnotfindanyversionthatmatchescom.android.support:support-v4:+.Searchedinthefollowinglocations:https://repo1.maven.org/maven2/com/a

javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building f

原因:这是SSL证书请求问题。原代码privateStringpostForAPP1(Stringtoken)throwsException{Mapparam=newHashMap();TxnBodyComtxnBodyCom=newTxnBodyCom();param.put("txnBodyCom",txnBodyCom);//txnCom.setTxnBodyCom(txnBodyCom);TxnCommComtxnCommCom=newTxnCommCom();txnCommCom.setTRecInPage("1111");txnCommCom.setTxnIttChnlCgyCod

android - Unity Gradle build 找不到 Build Tools 修订版 28.0.0

几天来我一直在为这个问题苦苦挣扎,我似乎找不到解决它的方法,这里是完整的错误:CommandInvokationFailure:Gradlebuildfailed.C:/ProgramFiles/Java/jdk1.8.0_131\bin\java.exe-classpath"C:\ProgramFiles\Unity2017.2\Editor\Data\PlaybackEngines\AndroidPlayer\Tools\gradle\lib\gradle-launcher-2.14.jar"org.gradle.launcher.GradleMain"assembleDebug"

解决STM32引脚无法输出0V电压问题:深入探讨输出缓冲器(Output Buffer)

        在嵌入式系统开发中,精确控制引脚输出电压是至关重要的。然而,有时会遇到DAC模块无法输出0V(接近)电压的情况,这往往是因为默认开启了OutputBuffer(输出缓冲器)导致的。在程序中直接赋值为0——“DAC_SetChannel1Data(DAC_Align_12b_R,0);”,输出值为71mV 一、直接解决         在通过对芯片手册的查阅可知:当OutputBuffer被使能时,最小输出值为0.2V,最大输出值为(VDDA-0.2)V;当OutputBuffer被禁用时,最小输出值为0.5mV,最大输出值为(VREF+-LSB)mV,由此可以得出OutputB

Android-ndk - 用于 cygwin 的 ndk-build 的简单构建脚本

我正在尝试制作一个可以在Windows和Unix系统上运行的简单构建脚本。如果是Windows,脚本将从cygwin运行,否则只是一个标准的shell。脚本将执行以下操作:将目录变量SDK_ROOT设置为'/cygdrive/C/PROGRA~2/Android/android-sdk/'将目录变量NDK_ROOT设置为'/cygdrive/C/PROGRA~2/android-ndk-r6b'cdAndroid/bin/运行javah-d../../test/mytest/-classpath.:$SDK_ROOT/platforms/android-8/android.jarcom

android - 带表面输入的 MediaCodec : Producing chunked output

我正在尝试通过MediaCodec.createInputSurface()从CameraPreview数据生成短序列mp4文件。但是,重新创建MediaCodec及其关联的Surface需要停止Camera以允许再次调用mCamera.setPreviewTexture(...)。这种延迟会导致NotAcceptable丢帧量。因此,我需要定期生成CODEC_CONFIG和END_OF_STREAM数据,而无需重新创建输入表面,因此必须调用mCamera.setPreviewTexture(...)。这是否可能假设MediaFormat未更改?(我正在改编fadden的CameraT

android - 如何在 build.gradle 中为 android 应用程序指定支持的架构?

我的Android应用程序仅支持arm64-v8a和armeabi-v7a。但是,由于其中一个依赖项,我在apk的lib文件夹中看到以下内容:arm64-v8aarmeabiarmeabi-v7amipsx86x86_64这是我的build.gradle:buildscript{repositories{maven{url'https://maven.fabric.io/public'}}dependencies{classpath'io.fabric.tools:gradle:1.+'}}applyplugin:'com.android.application'applyplugin