我在我的应用程序中构建我的签名apk时遇到以下错误

时间:2016-10-27 13:58:36

标签: android android-build android-studio-2.2 android-buildconfig

我的控制台出现以下错误,请帮帮我,发布到应用程序商店有什么问题。(我为我的英语和我的道歉,这是我使用android studio的第一个应用程序) MoreInfo

Information:Gradle tasks [:app:assembleRelease]
Error:warning: Ignoring InnerClasses attribute for an anonymous inner class
Error:(android.support.v4.app.ab) that doesn't come with an
Error:associated EnclosingMethod attribute. This class was probably produced by a...

1 个答案:

答案 0 :(得分:1)

只需将这些行添加到ProGuard配置(app / proguard-rules.pro)

即可
$directory = "C:\tmp"

$resultFile = $env:USERPROFILE + "\Desktop\result.txt"

Get-ChildItem -Path $directory -Include *.txt -Recurse | Get-Content | Out-File -FilePath $resultFile -NoClobber