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

issue importing #1

Closed
AndroidDeveloperLB opened this issue Dec 11, 2017 · 10 comments
Closed

issue importing #1

AndroidDeveloperLB opened this issue Dec 11, 2017 · 10 comments

Comments

@AndroidDeveloperLB
Copy link

I get this:

image

@radoyankov
Copy link
Collaborator

I see 2 errors. A missing deploy.gradle file and an iml error. You shouldn't have a problem with the gradle file, since it's only for uploading a version. As for the missing iml files, just rebuild and it should be OK. I just uploaded the missing file so you can build without errors.

@AndroidDeveloperLB
Copy link
Author

I tried to rebuild. Still same exact issues.

@AndroidDeveloperLB
Copy link
Author

I tried to clone the repo again, still has issues:

image

@radoyankov
Copy link
Collaborator

Alright, it's fixed now. Rebuild after pulling everything.

@AndroidDeveloperLB
Copy link
Author

I get this now:

image

@radoyankov
Copy link
Collaborator

Rebuild the project, man. "Keep All" and then press the green hammer in the toolbox.

@AndroidDeveloperLB
Copy link
Author

I've cloned the project. Choosing to rebuild does the same thing as cloning it. I didn't choose to remove.
Here, attached a video to show you that even if I try again, it still fails.
ice_video_20171211-201819.zip

@radoyankov
Copy link
Collaborator

Try going to File > Settings > Android SDK > Android SDK Location > Edit, and installing anything missing from there.

@AndroidDeveloperLB
Copy link
Author

Nothing is missing. I already have cloned other repos and made working projects.

I've now tried to update the project with this:

classpath 'com.android.tools.build:gradle:3.0.1'

Now it works fine.

@AndroidDeveloperLB
Copy link
Author

The sample itself has a few issues I've noticed, though:

  1. The small rectangle doesn't go to the target position well:

image

  1. touching outside of the bottom views is allowed, so I can move things more to the left, yet I can't make them reach their goal on the right. It also means the bottom views can be out of sync.

image

  1. changing screen orientation doesn't save the state of the views. Only the bottom views are saved. This means they can be out of sync.

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