2017-01-13 1 views
0

thisオープンソースプロジェクトを翻訳しようとしていますが、それを自分で作成しようとしていますが、クリーニングや再構築中にエラーが発生しています。私は何をする必要があるかを理解するのに助けが必要です。私はこれらのエラーを修正するために何する必要てるかわからないんだけどAndroidシステムクリーニングアプリオープンソース

/Users/Technologx/Desktop/Android Projects/New/SysVac/app/build/intermediates/res/merged/debug/values/values.xml 
Error:(413) Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? 
Error:(413) Unexpected end tag string 
Error:(413) Multiple substitutions specified in non-positional format; did you mean to add the formatted="false" attribute? 
Error:(413) Unexpected end tag string 
/Users/Technologx/Desktop/Android Projects/New/SysVac/app/build/intermediates/res/merged/debug/values-large-v4/values-large-v4.xml 
Error:(12) Error retrieving parent for item: No resource found that matches the given name 'Base.Theme.AppCompat.Dialog.FixedSize'. 
Error:(13) Error retrieving parent for item: No resource found that matches the given name 'Base.Theme.AppCompat.Light.Dialog.FixedSize'. 
Error:(12) Error retrieving parent for item: No resource found that matches the given name 'Base.Theme.AppCompat.Dialog.FixedSize'. 
Error:(13) Error retrieving parent for item: No resource found that matches the given name 'Base.Theme.AppCompat.Light.Dialog.FixedSize'. 
/Users/Technologx/Desktop/Android Projects/New/SysVac/app/build/intermediates/res/merged/debug/values-v11/values-v11.xml 
Error:(66) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat'. 
Error:(67) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Dialog'. 
Error:(68) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Light'. 
Error:(66) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat'. 
Error:(67) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Dialog'. 
Error:(68) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Light'. 
/Users/Technologx/Desktop/Android Projects/New/SysVac/app/build/intermediates/res/merged/debug/values-v21/values-v21.xml 
Error:(66) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat'. 
Error:(140) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Light'. 
Error:(66) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat'. 
Error:(140) Error retrieving parent for item: No resource found that matches the given name 'Base.V7.Theme.AppCompat.Light'. 
Error:Execution failed for task ':app:processDebugResources'. 
> com.android.ide.common.process.ProcessException: Failed to execute aapt 

は、ここに私のエラーリストです。私はAndroidのコーディングが初めてで、これを使って私が学ぶのを助けようとしていました。

ここには私が修正したいと思っているfileがあります。

答えて

0

1:あなたのstring.xmlを 2に%1$sすべてと%sを置き換える:私はあなたがAndroidアプリを開発しているときは、AndroidStudioではなく、日食を使用することをお勧め。これはアンドロイドサポートライブラリが必要です。 see here

+0

このエラーはどうですか:(413)非定位置フォーマットで指定された複数の置換。 formatted = "false"属性を追加することを意味しましたか? – GhostNinja

+0

AndroidStudioを使用すると、Androidのサポートlib、v4、v7が不足している可能性がありますので、他のエラーが発生する可能性があります。 –

+0

これは私が使用しているもので、いつも使っています。私は再構築とクリーニングを試みますが、毎回それらのエラーが発生します。 – GhostNinja

0

こんにちは、私はあなたのソースをダウンロードし、私はいくつかの問題が見つかりました。 1、あなたのライブラリーのソース、Gradleのファイルを、アプリケーションIDが 2を変更していない、私のsystemOSはwin10、JDKが多分オラクルjdk8 ライブラリのcompiledversionとbuildToolsVersionです変更する必要はありませんが、おそらくjdkが必要かもしれません。私はそう思います。 modified application idrun app successfully

+0

申し訳ありません。アプリを使用してアプリがクラッシュする設定に移動しようとすると、すべて修正済みです。 – GhostNinja

関連する問題