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

Build the app #8

Open
remil19 opened this issue Mar 5, 2014 · 33 comments
Open

Build the app #8

remil19 opened this issue Mar 5, 2014 · 33 comments

Comments

@remil19
Copy link

remil19 commented Mar 5, 2014

Hi, this app is pretty exciting and i would like to test but cannot build it in my computer. Could you please add a direct link to download the apk ?

@OnlyInAmerica
Copy link
Owner

Let's come up with an app title that can't be claimed as infringing on Spritz Inc. so we can publish on Google Play...

@remil19
Copy link
Author

remil19 commented Mar 6, 2014

I was not speaking about publishing the app, just building it like it is said in the readme and push that into gitHub so I could download it and beta test it.

@466
Copy link

466 commented Mar 6, 2014

Yeha, same here, pre-compiled 'd be great :)

@Stefanough
Copy link

Ditto! Unless someone can point a novice to instructions on how to build this in windows. I keep getting this error:

  • What went wrong:

A problem occurred evaluating project ':app'.

SDK location not found. Define location with sdk.dir in the local.properties file or with an ANDROID_HOME environment variable.

@keelanc
Copy link

keelanc commented Mar 6, 2014

Are you using Android Studio?

@Stefanough
Copy link

I'm using... Android Developer Tools? But I tried building it in the command prompt by navigating to the directory where the openspritz files are and using gradlew assemble.

@OnlyInAmerica
Copy link
Owner

I'll provide a pre-built apk and update the README with more thorough instructions very soon.

In the meanwhile: the easiest way to make gradle aware of your Android SDK location is with the ANDROID_HOME environmental variable. You should also have the Android SDK /tools and /platform-tools directories added to your PATH if you're going to be developing or interacting with your android device from the command line.

On Mac OS X:
Type the following in Terminal:

export ANDROID_HOME=/<installation location>/android-sdk-macosx
export PATH=${PATH}:$ANDROID_HOME/tools:$ANDROID_HOME/platform-tools

On Windows:
Type the following into the Command Prompt:

set ANDROID_HOME=C:\<installation location>\android-sdk-windows
set PATH=%PATH%;%ANDROID_HOME%\tools;%ANDROID_HOME%\platform-tools

@OnlyInAmerica
Copy link
Owner

@jlund
Copy link

jlund commented Mar 7, 2014

I think it would be great if this could be in the Play Store. How about "Wordgun" as an alternate name?

@asperdx
Copy link

asperdx commented Mar 7, 2014

Wordgun is nice, what about, "Nitro Books"? Getting away from the "Spritz" in the name would be nice.

@AWretchSavedByGrace
Copy link

OsmoSys... Playing on the word 'Osmosis' (the process of gradual or unconscious assimilation of ideas, knowledge, etc.) and 'system'.

Or perhaps 'Sub-C Reader' (subconscious).

Or maybe PassiveReader.

OsmoSys seems the catchiest though.

@keelanc
Copy link

keelanc commented Mar 7, 2014

Word Stream!
Squirtz!
Saccades-be-gone!
Suck It Saccades!
On Mar 7, 2014 5:02 AM, "AWretchSavedByGrace" [email protected]
wrote:

OsmoSys... Playing on the word 'Osmosis' (the process of gradual or
unconscious assimilation of ideas, knowledge, etc.) and 'system'.

Or perhaps 'Sub-C Reader' (subconscious).

Or maybe PassiveReader.

OsmoSys seems the catchiest though.

Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-37010541
.

@asperdx
Copy link

asperdx commented Mar 7, 2014

Quantum Reader?

@asperdx
Copy link

asperdx commented Mar 7, 2014

cReader as like c in light speed?

@IniTW8X
Copy link

IniTW8X commented Mar 9, 2014

I would also appreciate to push here updated apk in the future. Don't really want to set up Android Dev environment ;)
But yeah, GPlay would be nice!

@OnlyInAmerica
Copy link
Owner

I'm sort of leaning toward something simple like Glance or Gaze...

I think we're in a pretty good spot to release on Google Play within the next few days...

@asperdx
Copy link

asperdx commented Mar 19, 2014

I like Glance

@Stefanough
Copy link

I'm still trying to build this app, just for my own education and I keep getting stuck here

:app:processDebugResources FAILED          

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:processDebugResources'.
> Error: A library uses the same package as this project

Tried Googling but found no help.
Let me know if I should ask this somewhere else.

Also, how about influx?

@OnlyInAmerica
Copy link
Owner

@Stefanough this seems to be a check introduced in the latest Android gradle plugin. If you pull the latest code I've changed the lib and app namespaces to correct this. Let me know if that doesn't resolve this.

@Stefanough
Copy link

Wow, the system works! Thanks.

I can only get the app-debug-unaligned.apk to install and the the app-release-unsigned.apk.

Is that normal?

@fabianhtml
Copy link

@OnlyInAmerica "Galance" already exist on google play
https://play.google.com/store/apps/details?id=com.danvelazco.glance

Sure you know "A faster Reader" joint an epub reader + this concept (share a link and "Spritz" the text) would be excelent!!
https://play.google.com/store/apps/details?id=com.basetis.blinkingread.blinkingread

OpenSpritz-Android certainly have a better rhythm of reading
congrats for your excelent job

@remil19
Copy link
Author

remil19 commented Mar 21, 2014

Why not "Don't blink"?

@asperdx
Copy link

asperdx commented Mar 21, 2014

Sounds like a game then
On Mar 21, 2014 3:47 PM, "Rémi Lapeyre" [email protected] wrote:

Why not "Don't blink"?

Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-38322375
.

@fabianhtml
Copy link

@OnlyInAmerica
Copy link
Owner

I'm no longer bundling the .apks in the repo to avoid bloating its filesize. Building the .apk should be relatively simple per the instructions. I'm also shooting to release on Google Play within the week.

@hcasquet
Copy link

Hello all! I'm trying to build the app, just to try it.
I have set up the Android SDK and made all the adjustments necessary to build it.
Now, it just doesn't want to build. It throws a lot of error related to org.apache.log4j.net.*
and this is how it finish:

Warning: there were 90 unresolved references to program class members.
         Your input classes appear to be inconsistent.
         You may need to recompile the code.
         (http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember)
:app:proguardRelease FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:proguardRelease'.
> java.io.IOException: Please correct the above warnings first.

Sincerely, i wanted to play with the app since it looks promising.
Any idea what's wrong? Thanks

@OnlyInAmerica
Copy link
Owner

From your command line run ./gradle assembleDebug. Assembling the release
apk will only work if you set up your signing variables in
gradle.properties. Also runProguard should be set to false until I add all
the necessary rules.
On Mar 27, 2014 11:21 AM, "hcasquet" [email protected] wrote:

Hello all! I'm trying to build the app, just to try it.
I have set up the Android SDK and made all the adjustments necessary to
build it.
Now, it just doesn't want to build. It throws a lot of error related to
org.apache.log4j.net.*
and this is how it finish:

Warning: there were 90 unresolved references to program class members.
Your input classes appear to be inconsistent.
You may need to recompile the code.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember)
:app:proguardRelease FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:proguardRelease'.

    java.io.IOException: Please correct the above warnings first.

Sincerely, i wanted to play with the app since it looks promising.
Any idea what's wrong? Thanks

Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-38841695
.

@OnlyInAmerica
Copy link
Owner

Gah that's ./gradlew assembleDebug
On Mar 27, 2014 11:31 AM, "David Brodsky" [email protected] wrote:

From your command line run ./gradle assembleDebug. Assembling the
release apk will only work if you set up your signing variables in
gradle.properties. Also runProguard should be set to false until I add all
the necessary rules.
On Mar 27, 2014 11:21 AM, "hcasquet" [email protected] wrote:

Hello all! I'm trying to build the app, just to try it.
I have set up the Android SDK and made all the adjustments necessary to
build it.
Now, it just doesn't want to build. It throws a lot of error related to
org.apache.log4j.net.*
and this is how it finish:

Warning: there were 90 unresolved references to program class members.
Your input classes appear to be inconsistent.
You may need to recompile the code.
(http://proguard.sourceforge.net/manual/troubleshooting.html#unresolvedprogramclassmember)
:app:proguardRelease FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':app:proguardRelease'.

    java.io.IOException: Please correct the above warnings first.

Sincerely, i wanted to play with the app since it looks promising.
Any idea what's wrong? Thanks

Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-38841695
.

@hcasquet
Copy link

Much appreciated, thank you sir.
Now that i think of, i didn't think of that, now i think i'm dumber by the moment xD
Ok, that aside, the app have been built, i will play with it for a while.

@abraham09
Copy link

finally got it to compile. Some notes:

"ANDROID_HOME" error
-kept getting it even though I had already mapped it. Ended up creating "local.properties" file in folder with sdk.dir=(sdk dir location). This fixed the issue.

"Could not resolve com.android.support:appcompat-v7" error
-in Android SDK manager, update to the latest "Android Support Repository" and "Android Support Library"

"failed to find Build Tools revision 19.0.2" error
-install build tools 19.0.2 from Android SDK manager. I had 19.0.1 and 19.0.3 installed but .2 was missing.

hope this helps those of you having issues compiling!

@OnlyInAmerica
Copy link
Owner

@ghost
Copy link

ghost commented Apr 1, 2014

Sweet

@fabianhtml
Copy link

Nice and excelent job!!

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