Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compile working #141

Open
Alejandro99aru opened this issue Sep 23, 2018 · 14 comments
Open

Not compile working #141

Alejandro99aru opened this issue Sep 23, 2018 · 14 comments

Comments

@Alejandro99aru
Copy link

error: resource android:attr/ttcIndex not found.
Message{kind=ERROR, text=error: resource android:attr/ttcIndex not found., sources=[/Users/alejandrorodriguezuson/.gradle/caches/transforms-1/files-1.1/appcompat-v7-27.0.1.aar/d508f1268ca67fd591c8558e6eb3ac8f/res/values/values.xml:252:5-69], original message=, tool name=Optional.of(AAPT)}

@Karbiya
Copy link

Karbiya commented Sep 25, 2018

got the same error, did you fixed this?

@Alejandro99aru
Copy link
Author

I still have the same error. I have some app published in the google play store that compiled and now ,without doing anything, is not compiled .

@GrrenHouseStudio
Copy link

GrrenHouseStudio commented Sep 27, 2018 via email

@Alejandro99aru
Copy link
Author

I think that the error is because of the android api 28. The same app works before uploading to it.

@GrrenHouseStudio
Copy link

GrrenHouseStudio commented Sep 27, 2018 via email

@Rhdew
Copy link

Rhdew commented Sep 27, 2018

i am also getting same problem. did u got the solution ??

@GrrenHouseStudio
Copy link

GrrenHouseStudio commented Sep 27, 2018 via email

@Karbiya
Copy link

Karbiya commented Sep 28, 2018

Don't update Ur api to 28

On Thu 27 Sep, 2018, 11:22 PM Reshabh Dewari, @.***> wrote: i am also getting same problem. did u got the solution ?? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#141 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AgyMf5Zl53o8JE7P_RmurqbN1LNfQq5uks5ufRBogaJpZM4W1xo6 .

Don't update Ur api to 28

On Thu 27 Sep, 2018, 11:22 PM Reshabh Dewari, @.***> wrote: i am also getting same problem. did u got the solution ?? — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#141 (comment)>, or mute the thread https://github.com/notifications/unsubscribe-auth/AgyMf5Zl53o8JE7P_RmurqbN1LNfQq5uks5ufRBogaJpZM4W1xo6 .

What android studio version are you using?

the problem coming when upgrading the android studio to 3.2

@Alejandro99aru
Copy link
Author

It could be the problem. You can download a different version of android studio here https://developer.android.com/studio/archive

@Karbiya
Copy link

Karbiya commented Oct 1, 2018

It could be the problem. You can download a different version of android studio here https://developer.android.com/studio/archive

already downgrade to androd studio 3.0. and the problem still exist

@GrrenHouseStudio
Copy link

GrrenHouseStudio commented Oct 1, 2018 via email

@Alejandro99aru
Copy link
Author

I have solved the error downloading 27.0.0 build tools

@Aksx73
Copy link

Aksx73 commented Nov 14, 2018

Solve all compiling error using the followings:
1)In gradle-wrapper.properties update gradle to "4.8-all.zip"
2)In build.gradle (project) update gradle build to 3.2.1 &
in rootProject.ext{...} add SupportLibrary = "26.0.2"
i.e;

 rootProject.ext {
        ......
        SupportLibrary = "26.0.2"
     }

3)In build.gradle(app) add following lines:

 configurations.all {
    resolutionStrategy.eachDependency { DependencyResolveDetails details ->
        def requested = details.requested
        if (requested.group == 'com.android.support') {
            if (!requested.name.startsWith("multidex")) {
                details.useVersion rootProject.ext.SupportLibrary
            }
        }
    }
 }

&
update dependency of wallpaperboard library
i.e; implementation 'com.github.danimahardhika:wallpaperboard:1.7.0-b5'

@tracer8
Copy link

tracer8 commented Apr 10, 2019

Solution here!!!
I do like @Aksx73 said with grandle build tool 3.0, grandle distribution 4.1, then add 2 lines of this:

compileOptions {
      sourceCompatibility JavaVersion.VERSION_1_8
      targetCompatibility JavaVersion.VERSION_1_8
      }

Then build smooth like a charm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants