Use K9 mail as a library, is it possible? - android

I'm trying to understand K9 more & test if I can add TTS to it. I have been trying to import it as a module & change it to a library but seems it doesn't work with me once I try to add K9mail to my project. This is the erroe & it is in every value.xml:
Error:(3414) Error retrieving parent for item: No resource found that matches the given name 'ShowcaseView.Light'.
Error:(3415, 21) No resource found that matches the given name: attr 'sv_backgroundColor'.
Error:(3414) Error retrieving parent for item: No resource found that matches the given name 'ShowcaseView.Light'.
Error:(3415, 21) No resource found that matches the given name: attr 'sv_backgroundColor'.
I have been deleting them since yesterday but they seem endless!
Is it possible? How? tons of errors are shown in the gradle & manifest..

Related

Android System Cleaning App Open Source

I'm trying to translate this open source project and make it my own but I'm running into errors when trying to clean or rebuild. I need help figuring out what I need to do.
Here's my error list:
/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
I'm not sure what I'm needing to do to fix these errors. I'm new to Android coding and was going to use this to help me learn.
Here's the file that it's wanting me to fix.
1: replace %s with %1$s all in your string.xml
2: I suggest You use AndroidStudio rather than eclipse when are you developing Android app. This needs android support library.see here
Hi,I download your source ,and I found some problem:
1、your library source ,gradle file ,applicationID not modified
2、my systemOS is win10,jdk is oracle jdk8。
library's compiledversion and buildToolsVersion maybe needn't modify,but jdk maybe needed.I think so.modified application id and run app successfully

Android styles.xml errors

I am looking at an Android project that was made using Eclipse with ADT.
I have included a reference to android-support-v7-appcompat.jar.
In the res/values/styles.xml file I get this error:
Error retrieving parent for item: No resource found that matches the given name 'Theme.AppCompat.Light'.
In the res/values/themes.xml I get these types of errors:
Error retrieving parent for item: No resource found that matches the given name '#style/Theme.AppCompat.Light.DarkActionBar'.
No resource found that matches the given name: attr 'actionBarStyle'.
Error retrieving parent for item: No resource found that matches the given name '#style/Theme.AppCompat.Light'.
etc...
It seems like I am just missing one little piece of configuration. Any thoughts?
jars do not include resources. You have to reference an aar.

appcompat_v7 issues in eclipse

enter image description hereI have installed the android sdk and trying to create a new project but i have encounter the issues in appcompat_v7. I have tried few ways to recover the issue through the google search like project->clean, Change the target as android-19 in project properties and set the java build path but none of these work out for me.
I have faced the following issue,
D:\NewWorkSpace\appcompat_v7\res\values-v21\styles_base.xml:75: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
D:\NewWorkSpace\appcompat_v7\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
D:\NewWorkSpace\appcompat_v7\res\values-v21\styles_base.xml:84: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
...etc
Then the appcompat_v7 and the folder res->values-v21->styles_base.xml
always shown in red color.
error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'
In manifest set targetsdkVersion="21"
and
In project.properties set target=android-21

Retrieve Android API 19 Libraries?

I had just updated my app to use Androids API 21 from 19, but the app failed to run as it noted that many of the methods have been deprecated. As there is very little documentation for API 21, given it is so new, I then switched to switch my app back to API 19. However, given the main reference libraries have also been updated: android-support-v4 and android-support-v4-appcompat and therefore logcat lists the error upon running when I attempt to switch my app back to API 19:
Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:79: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.CloseMode'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:83: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionButton.Overflow'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:25: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabView'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:29: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabView'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:33: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.ActionBar.TabText'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:37: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:41: error: Error retrieving parent for item: No resource found that matches the given name 'android:Widget.Material.Light.ActionBar.TabText'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:65: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Title'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:69: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionMode.Subtitle'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:45: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Menu'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:49: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Title'.
C:\Android\android-sdk\extras\android\support\v7\appcompat\res\values-v21\styles_base.xml:53: error: Error retrieving parent for item: No resource found that matches the given name 'android:TextAppearance.Material.Widget.ActionBar.Subtitle'.
Is there a way to undo the changes of an API update or simply migrate back to a previous API? Or perhaps a location to download those API 19 versions of the libraries?
Source code control (SCC) (such as SVN, Git, Mercurial) is the best way to enable the ability to revert code and libraries to previous versions. Unfortunately, you can only go back in source if you were using SCC at the point you want to revert to.
In your case, downloading archived versions of the library is the best way to solve your problem this time. There are several places you can download these, but Google search of "android support library archive" is your friend, or see this answer.

Appcompat v7 and ActionBarActivity

I'm following this tutorial to make and app with action bar for 2.3.x devices. But i cannot import appcompat-v7 to my projecto... It gives me lots of errors like these:
[2014-11-06 14:19:23 - AcordeNoPonto] C:\Workspace\appcompat_v7\res\values-v21\themes_base.xml:194: error: Error: No resource found that matches the given name: attr 'android:colorControlActivated'.
[2014-11-06 14:19:23 - AcordeNoPonto] C:\Workspace\appcompat_v7\res\values-v21\themes_base.xml:195: error: Error: No resource found that matches the given name: attr 'android:colorControlHighlight'.
[2014-11-06 14:19:23 - AcordeNoPonto] C:\Workspace\appcompat_v7\res\values-v21\themes_base.xml:193: error: Error: No resource found that matches the given name: attr 'android:colorControlNormal'.
[2014-11-06 14:19:23 - AcordeNoPonto] C:\Workspace\appcompat_v7\res\values-v21\themes_base.xml:190: error: Error: No resource found that matches the given name: attr 'android:colorPrimary'.
[2014-11-06 14:19:23 - AcordeNoPonto] C:\Workspace\appcompat_v7\res\values-v21\themes_base.xml:191: error: Error: No resource found that matches the given name: attr 'android:colorPrimaryDark'.
[2014-11-06 14:19:23 - AcordeNoPonto] C:\Workspace\appcompat_v7\res\values-large-v14\themes_base.xml:19: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.DialogWhenLarge.Base'.
[2014-11-06 14:19:23 - AcordeNoPonto] C:\Workspace\appcompat_v7\res\values-large-v14\themes_base.xml:22: error: Error retrieving parent for item: No resource found that matches the given name 'Theme.Base.AppCompat.Light.DialogWhenLarge.Base'.
So i cannot import my app theme and my action bar is not shown...
In project.properties for Your project android-support-v7-appcompat Make sure target value as follow.
Project target.
target=android-21
android.library=true
once you done Clean your Project. I hope this works.
In project.properties of both your project and android-support-v7-appcompat (under res), comment out the target api if not target=android-21 and place the new target code there.
If this doesn't work, or you can't use 21+ api, make sure in your app's project.properties that android.library=false.
Next check your project's Referenced Libraries does not contain v4 in the buildpath. I believe I'm saying this correctly, that v7-appcompat required it (the previous version), but that it is included within the android-support-v7-appcompat file and thus the duplicate entries cause a problem.
I got this problem too. I found many solutions that you must update to Android 5.0 API leveL 21..you can see one of the solutions for updating all IDE. HERE
..
(Note : Following method is my second way solution for me.)
If you don't want to update, you can try existing API level..I found solution in my way is that when you create the new android application project, choose as follow
minSdkVersion= API 14 ,
targetSdkVersion=API 17 ,
compiled with=API 17
Hope, this will help!

Categories

Resources