--
You received this message because you are subscribed to the Google Groups "ceylon-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ceylon-users...@googlegroups.com.
Visit this group at http://groups.google.com/group/ceylon-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/55f831d0-dbd7-45a0-86c6-da9d9b511c64%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
So what we need to know is:
- is it easy to use Android APIs from Ceylon, or do we need some kind
of adaptors?
- how can we reasonably integrate dx into our toolchain?
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/CAP7PoCcPnQRGt4pAK8-yaLN%3Dj23qR2nAYfOeV-%3DZNK8vcQ5Yqg%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/CAP7PoCe8r_DTLhLvzsm-DF7JJ3sLcceEP9%2BLZVkASOXtTASwCQ%40mail.gmail.com.
Awesome! Great news :-)
Did you have to do anything nasty or inconvenient to make it happen?
And did you go to project properties and check "Enable Java classes
calling Ceylon"?
P.S. How would you like to be the official lead of the Elephandroid project?
ViewType findViewById2<ViewType>(Integer id){
assert (is ViewType textView = findViewById(id));
return textView;
}
Exception Ljava/lang/IllegalArgumentException; thrown while initializing Lcom/redhat/ceylon/compiler/java/runtime/metamodel/Metamodel;
Shutting down VM
threadid=1: thread exiting with uncaught exception (group=0xb1b11b90)
FATAL EXCEPTION: main
Process: com.example.elephandroid, PID: 1366
java.lang.ExceptionInInitializerError
at com.redhat.ceylon.compiler.java.Util.isReified(Util.java:41)
at com.example.elephandroid.Foo.findViewById2$priv$(ceylonsrc.ceylon:24)
at com.example.elephandroid.Foo.onCreate(ceylonsrc.ceylon:14)
at android.app.Activity.performCreate(Activity.java:5243)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1087)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2140)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2226)
at android.app.ActivityThread.access$700(ActivityThread.java:135)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1397)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4998)
at java.lang.reflect.Method.invokeNative(Native Method)
at java.lang.reflect.Method.invoke(Method.java:515)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:777)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:593)
at dalvik.system.NativeStart.main(Native Method)
Caused by: java.lang.IllegalArgumentException: java.lang.reflect.InvocationTargetException
at com.redhat.ceylon.cmr.api.RepositoryManagerBuilder.<init>(RepositoryManagerBuilder.java:60)
at com.redhat.ceylon.cmr.api.RepositoryManagerBuilder.<init>(RepositoryManagerBuilder.java:52)
at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.resetModuleManager(Metamodel.java:90)
at com.redhat.ceylon.compiler.java.runtime.metamodel.Metamodel.<clinit>(Metamodel.java:82)
... 17 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.constructNative(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at com.redhat.ceylon.cmr.api.RepositoryManagerBuilder.<init>(RepositoryManagerBuilder.java:58)
... 20 more
Caused by: java.lang.IllegalArgumentException: Cannot create Ceylon cache repository directory: /.ceylon/cache
at com.redhat.ceylon.cmr.impl.RootRepositoryManager.<init>(RootRepositoryManager.java:56)
at com.redhat.ceylon.cmr.impl.RootRepositoryManager.<init>(RootRepositoryManager.java:50)
at com.redhat.ceylon.cmr.impl.RepositoryManagerBuilderImpl.<init>(RepositoryManagerBuilderImpl.java:45)
... 23 more
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/0cbf086e-cc72-40a2-8b0d-5c9068aaa879%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-users/6bfe0f49-e909-4b9f-a78a-20de5f057e1a%40googlegroups.com.