草庐IT

build-management

全部标签

android - phonegap build android 什么都不做

我有一个phonegapCLI应用程序,直到最近它都运行良好,并且我能够以alpha测试模式发布到GooglePlay商店。所以在www目录中我做了一个'phonegapbuildandroid'在platforms/android目录中,我做了一个“antrelease”来创建一个签名的releaseapk。我被迫升级我的phonegap版本,因为GooglePlay商店拒绝了我最新提交的内容,因为他们不再支持我使用的级别(我认为是3...一些东西)。所以,现在当我执行“phonegap-v”时,我得到5.3.6。当我在www目录中执行“phonegapbuildandroid--v

找不到 Android Gradle build-info.xml

当我尝试使用InstantRun启动一个旧应用程序时,它说:找不到模块应用程序的Gradlebuild-info.xml。请确保您使用的是gradle插件“2.0.0-alpha4”或更高版本。我该如何解决这个问题? 最佳答案 随着最近发布的AndroidStudio2.0,有一个新的Androidgradle插件2.0.0。您可以通过将插件的版本更改为如下所示在顶级build.gradlebuildscriptblock中应用它:buildscript{repositories{jcenter()}dependencies{cla

android - 基于Build Variant修改App名称的Gradle-only解决方案

我正在尝试修改我的gradle文件,以允许我的应用程序根据Flavor和BuildType使用不同的名称。到目前为止,我已经通过AndroidGradlePluginDocs使用ManifestMerging技术在基于Flavor的命名方面取得了成功。当前这些是我的主屏幕上的应用程序名称,用于我的debug和release构建。FlavorDebugAppNameReleaseAppName--------------------------------------entity_1AppNameAppNameentity_2AppNameAppName.........entity_2

android - 如何在 Android 中使用 ndk-build 解决依赖?

我用Google搜索了解决方案,但没有人解决我的问题。我已经下载了Tess-two并尝试使用下载的ndk15r进行ndk-build来自https://developer.android.com/ndk/downloads/index.html但没有任何反应,同样的问题:Error:(687)AndroidNDK:Modulepngtdependsonundefinedmodules:zError:(700)***AndroidNDK:Aborting(setAPP_ALLOW_MISSING_DEPS=trueto>allowmissingdependencies).Stop.Err

android - 错误 :Cannot create directory\app\build\intermediates\incremental\packageDebug\zip-cache

构建工作项目后突然显示错误。如何解决这个错误?Error:Cannotcreatedirectory\app\build\intermediates\incremental\packageDebug\zip-cache我尝试了以下解决方案。从user/username/.gradle中删除.gradle并启动AndroidStudio不工作使缓存无效并重新启动不工作清理项目并构建项目不工作 最佳答案 我之前也遇到过同样的问题,是因为我没有app/build文件夹的写权限(我也不知道为什么)。所以我给下面的文件夹权限sudochmod

SQL Server Management Studio-如何使用连接字符串连接到SQL Server?

我无法使用SQLServerManagementStudio连接到SQLServer。我有一个连接字符串:我试图通过输入Myip到Servername,MyID来登录和MyPassword来连接密码,但仍无法连接。这就是结果:有人有想法吗?非常感谢。看答案因为您正在使用用户名和密码连接到数据库,所以您应该更改连接字符串以看起来像这样:DataSource=myServerAddress;InitialCatalog=myDataBase;IntegratedSecurity=False;UserID=myDomain\myUsername;Password=myPassword;如果您想知道为

android - 在 Android Studio 0.8.1 上找不到 Artifact 'com.android.tools.build:gradle:0.12.1:gradle.jar'

我已经升级到AndroidStudio0.8.1,当我尝试编译任何应用程序时,它都失败并出现以下错误:Error:Artifact'com.android.tools.build:gradle:0.12.1:gradle.jar'notfoundonAndroidStudio0.8.1我尝试从gradle.org手动更新插件,但它不包含任何gradle.jar二进制文件。如何解决这个错误? 最佳答案 文件->使缓存无效/重新启动关闭安卓工作室重命名/删除用户主目录中的.gradle文件夹重启AndroidStudio让它下载它需要的

2.Redis下载安装配置(Windows、Linux、Ubuntu)、Redis-cli(客户端)基本命令、Redis可视化工具(Redis Desktop Manager)

目录什么是缓存?为什么要使用缓存?1.Redis基本介绍(NoSQL)2.Redis下载安装配置(Windows、Linux、Ubuntu)、Redis-cli(客户端)基本命令、Redis可视化工具(RedisDesktopManager)3.Redis数据类型及其操作命令4.Redis安全(创建用户)、数据备份与恢复、管道技术、分区5.RedisHyperLogLog、发布订阅、事务、脚本、服务器命令6.基本使用Redis(key-value,键值对)7.传统Spring中使用Redis8.SpringBoot中使用Redis9.Redis主从复制(Master/Slave)10.Reid

android - build.gradle 警告 'avoid using + in version numbers'

这是我的build.gradle应用级文件。applyplugin:'com.android.application'android{compileSdkVersion26buildToolsVersion"26.0.2"defaultConfig{applicationId"it.myco.app.myproj"minSdkVersion16targetSdkVersion26versionCode1versionName"1.0"testInstrumentationRunner"android.support.test.runner.AndroidJUnitRunner"}bui

android - "tns doctor""You need to have the Android SDK Build-tools installed on your system."但一切都已安装

我已经安装了AndroidStudio并通过AndroidStudio进一步安装了SDK和工具。他们在这里:我的$ANDROID_HOME路径如下:/Users/USER/Library/Android/sdk在终端和AndroidStudio中。但是,当运行tnsdoctor时,我得到以下信息:(...)VerifyingCocoaPods.Thismaytakesometime,pleasebepatient◟VerifyingCocoaPods.Thismaytakesometime,pleasebepatient◜VerifyingCocoaPods.Thismaytakeso