pocorall / scaloid-apidemos Goto Github PK
View Code? Open in Web Editor NEWA Scala port of well-known ApiDemos for Android
A Scala port of well-known ApiDemos for Android
With the following error:
src/main/java/com/example/android/apis/view/ExpandableList2.scala:24: error: not found: object net
[INFO] import net.pocorall.android.Workarounds._
[INFO] ^
[ERROR] /Users/daniel/projetos/scaloid-apidemos/src/main/java/com/example/android/apis/view/ExpandableList2.scala:33: error: not found: value BaseColumns
[INFO] private final val CONTACTS_PROJECTION: Array[String] = Array(BaseColumns._ID, ContactsColumns.DISPLAY_NAME)
[INFO] ^
[ERROR] /Users/daniel/projetos/scaloid-apidemos/src/main/java/com/example/android/apis/view/ExpandableList2.scala:35: error: not found: value BaseColumns
[INFO] private final val PHONE_NUMBER_PROJECTION: Array[String] = Array(BaseColumns._ID, Phone.NUMBER)
[INFO] ^
[ERROR] /Users/daniel/projetos/scaloid-apidemos/src/main/java/com/example/android/apis/view/ExpandableList2.scala:46: error: not found: value ContactsColumns
[INFO] Array(ContactsColumns.DISPLAY_NAME), Array(android.R.id.text1), android.R.layout.simple_expandable_list_item_1,
[INFO] ^
[ERROR] /Users/daniel/projetos/scaloid-apidemos/src/main/java/com/example/android/apis/view/ExpandableList2.scala:69: error: not found: value ContactsColumns
[INFO] ContactsColumns.HAS_PHONE_NUMBER + "=1", null, null)
[INFO] ^
[ERROR] 5 errors found
Running "mvn android:deploy":
[INFO] --- android-maven-plugin:4.1.0:generate-sources (default-generate-sources) @ scaloid-apidemos ---
[INFO] Manifest copied from /home/mb/scala/scaloid-apidemos/AndroidManifest.xml to /home/mb/scala/scaloid-apidemos/target/AndroidManifest.xml
[INFO] Extracting libs
[INFO] ANDROID-904-002: Found aidl files: Count = 3
[INFO] Generating R file for org.scaloid:scaloid-apidemos:apk:1.0-SNAPSHOT
[INFO] /home/mb/scala/scaloid-apidemos/res/layout/progressbar_2.xml:22: note: did you mean to use @+id instead of @+android:id?
[INFO] /home/mb/scala/scaloid-apidemos/res/layout/progressbar_2.xml:31: note: did you mean to use @+id instead of @+android:id?
[INFO] /home/mb/scala/scaloid-apidemos/res/layout/progressbar_2.xml:36: note: did you mean to use @+id instead of @+android:id?
[INFO] /home/mb/scala/scaloid-apidemos/res/layout/progressbar_2.xml:22: error: creating resource for external package android: id/progress_large.
[INFO] /home/mb/scala/scaloid-apidemos/res/layout/progressbar_2.xml:22: error: Error: No resource found that matches the given name (at 'id' with value '@+android:id/progress_large').
[INFO]
[INFO] /home/mb/scala/scaloid-apidemos/res/layout/progressbar_2.xml:31: error: creating resource for external package android: id/progress_small.
[INFO] /home/mb/scala/scaloid-apidemos/res/layout/progressbar_2.xml:31: error: Error: No resource found that matches the given name (at 'id' with value '@+android:id/progress_small').
[INFO]
[INFO] /home/mb/scala/scaloid-apidemos/res/layout/progressbar_2.xml:36: error: creating resource for external package android: id/progress_small_title.
[INFO] /home/mb/scala/scaloid-apidemos/res/layout/progressbar_2.xml:36: error: Error: No resource found that matches the given name (at 'id' with value '@+android:id/progress_small_title').
[INFO]
[ERROR] Error when generating sources.
The build instructions say mvn package
and mvn android:deploy
should build and deploy. There is a slight problem with this on the first run in that mvn android:deploy
fails when it tries to uninstall the program and fails to find it on the device. If you manually install it the first time with adb install target/scaloid-apidemos-1.0-SNAPSHOT.apk
then further mvn android:deploy
commands succeed. Maybe there's a maven command that can perform the first deploy without attempting to uninstall?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.