Closed IgorGanapolsky closed 8 years ago
Always provide full logs
That is the full log from Logcat in Android Studio. On Dec 6, 2015 9:16 PM, "Perry" notifications@github.com wrote:
Closed #12 https://github.com/pfn/protify/issues/12.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#event-483934230.
That is not the full output of the build command.
Sent from my phone On Dec 6, 2015 7:00 PM, "Igor Ganapolsky" notifications@github.com wrote:
That is the full log from Logcat in Android Studio. On Dec 6, 2015 9:16 PM, "Perry" notifications@github.com wrote:
Closed #12 https://github.com/pfn/protify/issues/12.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#event-483934230.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162396197.
That is what Logcat shows me. On Dec 6, 2015 10:01 PM, "Perry" notifications@github.com wrote:
That is not the full output of the build command.
Sent from my phone On Dec 6, 2015 7:00 PM, "Igor Ganapolsky" notifications@github.com wrote:
That is the full log from Logcat in Android Studio. On Dec 6, 2015 9:16 PM, "Perry" notifications@github.com wrote:
Closed #12 https://github.com/pfn/protify/issues/12.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#event-483934230.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162396197.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162396281.
That is not logcat
Sent from my phone On Dec 6, 2015 7:52 PM, "Igor Ganapolsky" notifications@github.com wrote:
That is what Logcat shows me. On Dec 6, 2015 10:01 PM, "Perry" notifications@github.com wrote:
That is not the full output of the build command.
Sent from my phone On Dec 6, 2015 7:00 PM, "Igor Ganapolsky" notifications@github.com wrote:
That is the full log from Logcat in Android Studio. On Dec 6, 2015 9:16 PM, "Perry" notifications@github.com wrote:
Closed #12 https://github.com/pfn/protify/issues/12.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#event-483934230.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162396197.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162396281.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162403027.
Then what is it?
A partial log of build output
Sent from my phone On Dec 6, 2015 8:24 PM, "Igor Ganapolsky" notifications@github.com wrote:
Then what is it?
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162406785.
Go to the command line, run sbt protify
paste the full output
Here, terminal command line inside of Android Studio. Running sbt protify
screenshot:
continuation from screenshot:
That's not logcat, that's a screenshot of the terminal tool window. And the messages are clear, you are missing appcompat.
Sent from my phone On Dec 6, 2015 8:29 PM, "Igor Ganapolsky" notifications@github.com wrote:
Here is the screenshot of logcat: [image: screen shot 2015-12-06 at 11 27 00 pm] https://cloud.githubusercontent.com/assets/201209/11619060/1c4e05a0-9c71-11e5-839a-3f559d3eda26.png
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162408031.
A) You told me to run terminal command. That's what i did. B) The project builds AND runs fine with gradle. What is causing it to fail in SBT? On Dec 6, 2015 11:32 PM, "Perry" notifications@github.com wrote:
That's not logcat, that's a screenshot of the terminal tool window. And the messages are clear, you are missing appcompat.
Sent from my phone On Dec 6, 2015 8:29 PM, "Igor Ganapolsky" notifications@github.com wrote:
Here is the screenshot of logcat: [image: screen shot 2015-12-06 at 11 27 00 pm] < https://cloud.githubusercontent.com/assets/201209/11619060/1c4e05a0-9c71-11e5-839a-3f559d3eda26.png
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162408031.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162408377.
You tell me, I have u2020 building fine as demonstrated in a test case. At:
https://github.com/pfn/android-sdk-plugin/blob/master/sbt-test/gradle-build/u2020/
Sent from my phone On Dec 6, 2015 8:35 PM, "Igor Ganapolsky" notifications@github.com wrote:
A) You told me to run terminal command. That's what i did. B) The project builds AND runs fine with gradle. What is causing it to fail in SBT? On Dec 6, 2015 11:32 PM, "Perry" notifications@github.com wrote:
That's not logcat, that's a screenshot of the terminal tool window. And the messages are clear, you are missing appcompat.
Sent from my phone On Dec 6, 2015 8:29 PM, "Igor Ganapolsky" notifications@github.com wrote:
Here is the screenshot of logcat: [image: screen shot 2015-12-06 at 11 27 00 pm] <
https://cloud.githubusercontent.com/assets/201209/11619060/1c4e05a0-9c71-11e5-839a-3f559d3eda26.png
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162408031.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162408377.
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162408982.
I just ran sbt protify
on your test case in my Android Studio. Got this build error:
sbt.ResolveException: unresolved dependency: com.hanhuy.sbt#android-gradle-build;1.1.9-SNAPSHOT: not found at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:278) at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:175) at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:157) at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:151) at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:151) at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:128) at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:56) at sbt.IvySbt$$anon$4.call(Ivy.scala:64) at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93) at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78) at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97) at xsbt.boot.Using$.withResource(Using.scala:10) at xsbt.boot.Using$.apply(Using.scala:9) at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58) at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48) at xsbt.boot.Locks$.apply0(Locks.scala:31) at xsbt.boot.Locks$.apply(Locks.scala:28) at sbt.IvySbt.withDefaultLogger(Ivy.scala:64) at sbt.IvySbt.withIvy(Ivy.scala:123) at sbt.IvySbt.withIvy(Ivy.scala:120) at sbt.IvySbt$Module.withModule(Ivy.scala:151) at sbt.IvyActions$.updateEither(IvyActions.scala:157) at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1318) at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1315) at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$85.apply(Defaults.scala:1345) at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$85.apply(Defaults.scala:1343) at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35) at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1348) at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1342) at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45) at sbt.Classpaths$.cachedUpdate(Defaults.scala:1360) at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1300) at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1275) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) at sbt.std.Transform$$anon$4.work(System.scala:63) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) at sbt.Execute.work(Execute.scala:235) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) at sbt.CompletionService$$anon$2.call(CompletionService.scala:28) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) error sbt.ResolveException: unresolved dependency: com.hanhuy.sbt#android-gradle-build;1.1.9-SNAPSHOT: not found
Change to a non snapshot version
Sent from my phone On Dec 6, 2015 8:55 PM, "Igor Ganapolsky" notifications@github.com wrote:
I just compiled your test case in my Android Studio. Got this build error:
sbt.ResolveException: unresolved dependency: com.hanhuy.sbt#android-gradle-build;1.1.9-SNAPSHOT: not found at sbt.IvyActions$.sbt$IvyActions$$resolve(IvyActions.scala:278) at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:175) at sbt.IvyActions$$anonfun$updateEither$1.apply(IvyActions.scala:157) at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:151) at sbt.IvySbt$Module$$anonfun$withModule$1.apply(Ivy.scala:151) at sbt.IvySbt$$anonfun$withIvy$1.apply(Ivy.scala:128) at sbt.IvySbt.sbt$IvySbt$$action$1(Ivy.scala:56) at sbt.IvySbt$$anon$4.call(Ivy.scala:64) at xsbt.boot.Locks$GlobalLock.withChannel$1(Locks.scala:93) at xsbt.boot.Locks$GlobalLock.xsbt$boot$Locks$GlobalLock$$withChannelRetries$1(Locks.scala:78) at xsbt.boot.Locks$GlobalLock$$anonfun$withFileLock$1.apply(Locks.scala:97) at xsbt.boot.Using$.withResource(Using.scala:10) at xsbt.boot.Using$.apply(Using.scala:9) at xsbt.boot.Locks$GlobalLock.ignoringDeadlockAvoided(Locks.scala:58) at xsbt.boot.Locks$GlobalLock.withLock(Locks.scala:48) at xsbt.boot.Locks$.apply0(Locks.scala:31) at xsbt.boot.Locks$.apply(Locks.scala:28) at sbt.IvySbt.withDefaultLogger(Ivy.scala:64) at sbt.IvySbt.withIvy(Ivy.scala:123) at sbt.IvySbt.withIvy(Ivy.scala:120) at sbt.IvySbt$Module.withModule(Ivy.scala:151) at sbt.IvyActions$.updateEither(IvyActions.scala:157) at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1318) at sbt.Classpaths$$anonfun$sbt$Classpaths$$work$1$1.apply(Defaults.scala:1315) at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$85.apply(Defaults.scala:1345) at sbt.Classpaths$$anonfun$doWork$1$1$$anonfun$85.apply(Defaults.scala:1343) at sbt.Tracked$$anonfun$lastOutput$1.apply(Tracked.scala:35) at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1348) at sbt.Classpaths$$anonfun$doWork$1$1.apply(Defaults.scala:1342) at sbt.Tracked$$anonfun$inputChanged$1.apply(Tracked.scala:45) at sbt.Classpaths$.cachedUpdate(Defaults.scala:1360) at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1300) at sbt.Classpaths$$anonfun$updateTask$1.apply(Defaults.scala:1275) at scala.Function1$$anonfun$compose$1.apply(Function1.scala:47) at sbt.$tilde$greater$$anonfun$$u2219$1.apply(TypeFunctions.scala:40) at sbt.std.Transform$$anon$4.work(System.scala:63) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226) at sbt.Execute$$anonfun$submit$1$$anonfun$apply$1.apply(Execute.scala:226) at sbt.ErrorHandling$.wideConvert(ErrorHandling.scala:17) at sbt.Execute.work(Execute.scala:235) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226) at sbt.Execute$$anonfun$submit$1.apply(Execute.scala:226) at sbt.ConcurrentRestrictions$$anon$4$$anonfun$1.apply(ConcurrentRestrictions.scala:159) at sbt.CompletionService$$anon$2.call(CompletionService.scala:28) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) error sbt.ResolveException: unresolved dependency: com.hanhuy.sbt#android-gradle-build;1.1.9-SNAPSHOT: not found
— Reply to this email directly or view it on GitHub https://github.com/pfn/protify/issues/12#issuecomment-162412653.
Hello, I am trying to run a project in Android Studio. I followed your README. When I run
~protify
command, here is the stacktrace I get:Any ideas? Thanks, Igor