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

Can't get it to build for Android 5.1.1 SDK #7

Closed
nextux opened this issue Jan 30, 2016 · 10 comments
Closed

Can't get it to build for Android 5.1.1 SDK #7

nextux opened this issue Jan 30, 2016 · 10 comments

Comments

@nextux
Copy link

nextux commented Jan 30, 2016

I have downloaded your files as they are. Trying to compile and install directly gives me a "Parse Error". I thought it might be that Android Studio isn't using the correct SDK version. I changed in the build.gradle files the SDK version to 22. Android Studio reports that it has built the APK. Upon attempting to install, the package installer crashes.

Any reason your prebuilt apk runs without issues and the one I am trying to build is failing?

@Fleker
Copy link
Owner

Fleker commented Jan 30, 2016

I've got no clue. I compiled the prebuilt apk straight from the source. Everything should be there. You probably shouldn't change the targetSdkVersion.

Try this: http://stackoverflow.com/questions/29682002/error-on-installing-apk-parsing-the-package?rq=1

@nextux
Copy link
Author

nextux commented Jan 31, 2016

That seemed to solve the intial issue of the Parse Error. However I still am unable to install the built apk. The package manager on my Sony Android TV crashes in the middle of the install....whereas your file works without issues....only thing I have done different is remove the line "apply from: 'maven-push.gradle'" from library/build.gradle as it was failing everytime.

@nextux
Copy link
Author

nextux commented Jan 31, 2016

This is with package built on my Mac using Android Studio, as well as using BuddyBuild service. Both packages behave the same on my TV.

@Fleker
Copy link
Owner

Fleker commented Jan 31, 2016

Yes the maven-push.gradle will have to be removed as that's needed to update maven, but the authentication properties are not included. Does removing this line and compiling create a workable apk?

@nextux
Copy link
Author

nextux commented Jan 31, 2016

I'm unable to test this out as when I go to install the apk, my Sony Bravia's Package Installer app is crashing partway through. Your apk from the releases section is working perfectly though. The only source change I had made is removing that one line, so in theory, the apk should be the same.

@Fleker
Copy link
Owner

Fleker commented Jan 31, 2016

Do you have a second Android TV device you can test your compiled app with?

On Sat, Jan 30, 2016, 9:54 PM Alan Cramer notifications@github.com wrote:

I'm unable to test this out as when I go to install the apk, my Sony
Bravia's Package Installer app is crashing partway through. Your apk from
the releases section is working perfectly though. The only source change I
had made is removing that one line, so in theory, the apk should be the
same.


Reply to this email directly or view it on GitHub
#7 (comment).

@nextux
Copy link
Author

nextux commented Jan 31, 2016

I do....just need to set it up again. I'll update results here.

@Fleker
Copy link
Owner

Fleker commented Feb 10, 2016

Has there been an update?

@nextux
Copy link
Author

nextux commented Feb 10, 2016

Haven't had a chance to get it out and plug it in.... (Real life) but all
your apks work fine on either so I am putting it down to my build setup. I
will look into it more hopefully tonight if I can get a moment.
On 10 Feb 2016 13:50, "Nick" notifications@github.com wrote:

Has there been an update?


Reply to this email directly or view it on GitHub
#7 (comment).

@nextux
Copy link
Author

nextux commented Feb 10, 2016

My build works on my Nexus player perfectly which is running Marshmallow. So I'll need to look at why on my end.

@nextux nextux closed this as completed Feb 10, 2016
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

2 participants