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

Migrated the solution to AndroidStudio project + gradle build (requires ... #1

Merged
merged 1 commit into from
Aug 20, 2014

Conversation

GiottoVerducci
Copy link
Contributor

...v4:13)

v1.18: Fixed bug using the dis+ search filter

…es v4:13)

v1.18: Fixed bug using the dis+ search filter
@franciscojunior
Copy link
Owner

Excellent!

But I noticed that source files from viewpagerindicator are being added to the project as well. Is this intended? Isn't there any Android Studio compatible jar file which we could use as a library dependency?

@GiottoVerducci
Copy link
Contributor Author

I grabbed the latest versions of the components, and used the migration
tool on the solution. Apparently, it replaced the dependency with the
source files.
I'm not very familiar with the Android system so I'm a bit lost in the
minimum versions requirements and the dependencies (at least I don't
understand them as well as on the .NET framework). So if you find out how
to fix this...

On Tue, Aug 12, 2014 at 7:05 PM, Francisco Figueiredo Jr. <
notifications@github.com> wrote:

Excellent!

But I noticed that source files from viewpagerindicator are being added to
the project as well. Is this intended? Isn't there any Android Studio
compatible jar file which we could use as a library dependency?


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

@franciscojunior
Copy link
Owner

I'm having problems getting the project to compile with Android Studio. It is always giving me the error of "Protocol Family unavailable". :(

Are you having this problem?

@GiottoVerducci
Copy link
Contributor Author

No, I haven't. When does it happen?

On Tue, Aug 12, 2014 at 11:46 PM, Francisco Figueiredo Jr. <
notifications@github.com> wrote:

I'm having problems getting the project to compile with Android Studio. It
is always giving me the error of "Protocol Family unavailable". :(

Are you having this problem?


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

@franciscojunior
Copy link
Owner

When I open the project and it seems to start to build it. I already did a search about it and found that: https://code.google.com/p/android/issues/detail?id=61288

But even when I disable the windows firewall, it doesn't work. I think it may be related to gradle itself or the jdk. Somehow it seems to not recognize the address created by the daemon:

Caused by: org.gradle.messaging.remote.internal.ConnectException: Could not connect to server [5fc85507-c871-4ab6-997f-5ff8399d1757 port:50557, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]]. Tried addresses: [/127.0.0.1, /0:0:0:0:0:0:0:1].
    at org.gradle.messaging.remote.internal.inet.TcpOutgoingConnector.connect(TcpOutgoingConnector.java:62)
    at org.gradle.launcher.daemon.client.DefaultDaemonConnector.connectToDaemon(DefaultDaemonConnector.java:135)
    at org.gradle.launcher.daemon.client.DefaultDaemonConnector.connectToDaemonWithId(DefaultDaemonConnector.java:123)
    ... 21 more
Caused by: java.net.SocketException: Protocol family unavailable
    at sun.nio.ch.Net.connect0(Native Method)
    at sun.nio.ch.Net.connect(Net.java:465)
    at sun.nio.ch.Net.connect(Net.java:457)
    at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:670)
    at java.nio.channels.SocketChannel.open(SocketChannel.java:184)
    at org.gradle.messaging.remote.internal.inet.TcpOutgoingConnector.connect(TcpOutgoingConnector.java:53)
    ... 23 more
2014-08-12 18:41:33,250 [  15078]   WARN - nal.AbstractExternalSystemTask - Protocol family unavailable 
com.intellij.openapi.externalSystem.model.ExternalSystemException: Protocol family unavailable

But the endpoint seems to be created:

18:41:32.166 [DEBUG] [org.gradle.launcher.daemon.registry.PersistentDaemonRegistry] Storing daemon address: [5fc85507-c871-4ab6-997f-5ff8399d1757 port:50557, addresses:[/127.0.0.1, /0:0:0:0:0:0:0:1]], context: DefaultDaemonContext[uid=ab05142b-d7ea-4d76-a694-af581e1c9230,javaHome=C:\Program Files\Java\jdk1.7.0_67,daemonRegistryDir=C:\Users\franciscojunior\.gradle\daemon,pid=9076,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=windows-1252]

@franciscojunior
Copy link
Owner

I just tried install jdk 1.8 and I'm getting the same error. :(

I also noticed that local.properties file is being added to the project with your commit. Would it be possible to remove it from this pull request?

I'll keep checking why I'm getting this error with gradle.

@GiottoVerducci
Copy link
Contributor Author

Hi Francisco,

Any progress on the matter?

Vincent

PS: I'll remove the local.properties when I have the time :)

On Wed, Aug 13, 2014 at 7:08 PM, Francisco Figueiredo Jr. <
notifications@github.com> wrote:

I just tried install jdk 1.8 and I'm getting the same error. :(

I also noticed that local.properties file is being added to the project
with your commit. Would it be possible to remove it from this pull request?

I'll keep checking why I'm getting this error with gradle.


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

@GiottoVerducci
Copy link
Contributor Author

Also, could you update the mp3 database with the cards from Danse Macabre?

On Mon, Aug 18, 2014 at 10:18 AM, Vincent Ripoll v.ripoll@gmail.com wrote:

Hi Francisco,

Any progress on the matter?

Vincent

PS: I'll remove the local.properties when I have the time :)

On Wed, Aug 13, 2014 at 7:08 PM, Francisco Figueiredo Jr. <
notifications@github.com> wrote:

I just tried install jdk 1.8 and I'm getting the same error. :(

I also noticed that local.properties file is being added to the project
with your commit. Would it be possible to remove it from this pull request?

I'll keep checking why I'm getting this error with gradle.


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

@franciscojunior
Copy link
Owner

Hi Francisco, Any progress on the matter?

Hi, Giotto. Yes. I noticed that if I run gradle from the command line, it executes without error. But unfortunately I can't use the IDE on windows. But I could use it inside a VM.

PS: I'll remove the local.properties when I have the time :)

No problem. When I merge the pull request I can remove it. :)

As I'm being able to play with the code inside a VM I'll make a final review of the pull request and then I will merge it.

Thank you very much for your feedback and support!

@franciscojunior
Copy link
Owner

Also, could you update the mp3 database with the cards from Danse Macabre?

Sure! Where can I find the new database cards?

@GiottoVerducci
Copy link
Contributor Author

I suppose you created originally the file from the csv file which is here:
http://www.vekn.net/card-lists

On Mon, Aug 18, 2014 at 8:26 PM, Francisco Figueiredo Jr. <
notifications@github.com> wrote:

Also, could you update the mp3 database with the cards from Danse
Macabre?

Sure! Where can I find the new database cards?


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

@franciscojunior
Copy link
Owner

I suppose you created originally the file from the csv file which is here: http://www.vekn.net/card-lists

Ahhh, ok! I thought you were talking about a custom cardlist from a user called Danse Macabre. :)

I think we should open another issue to handle that.

I'll create this issue.

@franciscojunior
Copy link
Owner

I just created the issue and added some information about a current problem we need to fix in order to update the database.

@franciscojunior
Copy link
Owner

Ok. I think we are ready to make the switch.

I already made some changes regarding the gitignore file as well as update target version to 19 instead of current 16, but I'll open another pull request for that.

I also noticed that the name of the folder which contains the source code is now called vampiDroid. Was this change made by the conversion wizard? We should keep the original name VampiDroid.

I don't understand yet very well Android Studio and gradle project structure but I'm learning about it.

I think we can make those changes in the future.

franciscojunior added a commit that referenced this pull request Aug 20, 2014
Migrated the solution to AndroidStudio project + gradle build (requires ...
@franciscojunior franciscojunior merged commit 0d194bd into franciscojunior:master Aug 20, 2014
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

Successfully merging this pull request may close these issues.

3 participants