I'm working on a LiveCode widget and importing the scriptitems library. When I click "test" in the "Extension Builder" I get the error
Unable to find imported module 'com.livecode.library.scriptitems'
So after investigation it turns out that the scriptitems library is only available in LiveCode 9.0. So I just stopped trying to use it and now my widget compiles correctly.
Related
I am following an android studio(oreo) tutorial on creating a simple math game that shows a question on top and you have to click on 1 out of 4 given answers on the bottom.
while following the tutorial in .xml file. android:Tag="0" doesn't work. and I m using bumblebee.
I am trying to work on multiple onclick with same name but soon as I compile with android:tag"0" its giving me error.
btw it does compile without the tag but it crashes when I pick 1 of 4 answers since no tags are not assigned to my onclicks.game that I m working on
is there a new syntax for it on bumble bee?
thanks
Please note that I have previously installed Documentation for Android SDK via AS 3.5.2 SDK manager
Consider the following inconsistent behavior whilst editing java source code ...
import android.app.Fragment; // Deprecated!
If I hover over Fragment I get extensive, beautifully-formatted JavaDoc help. Furthermore, at the bottom of the Documentation window there is an option External documentation for Fragment that links to a local file:
file:///home/daz/Android/Sdk/docs/reference/android/app/Fragment.html
Now, moving to androidX ...
import androidx.fragment.app.Fragment;
import androidx.constraintlayout.motion.widget.MotionLayout;
If I hover over Fragment I get an abbreviated help which directs me to the 'framework' documentation. (Less elegant but acceptable)
But if I hover over MotionLayout I get nothing except a reference to
Gradle: androidx.constraintlayout:constraintlayout:2.0.0-beta3#aar
If I go to the declaration I get decompiled source and whenever I try to code a method I have to search the internet for the parameters. All attempts to Choose or Download sources while viewing the decompiled source have failed.
I consider this unacceptable - good documentation exists and I would like to get to it easily!
https://developer.android.com/reference/androidx/constraintlayout/motion/widget/MotionLayout
I appreciate that MotionLayout was a comparatively recent (2018) announcement but it is not an isolated case.
Why is this happening? Why is Android Studio unable to find official Android source code?
Determine if the source .jar was shipped with the .aar:
Example: androidx.fragment.app.Fragment
Assumes External Library: Gradle: androidx.fragment:fragment:1.1.0#aar
EITHER Right-click the external library (from Project view) --> Library Properties ...
OR Navigate to :
.../.gradle/caches/modules-2/files-2.1/androidx.fragment/fragment/1.1.0
Expand the subfolders and confirm something like
b9ebb04df2cb0cad4419af3c658690bc82aa5706/fragment-1.1.0-sources.jar
Example: androidx.constraintlayout.widget.ConstraintLayout
Assumes External Library: Gradle: androidx.constraintlayout:constraintlayout:2.0.0-beta3#aar
By using the above method, you will rapidly determine that no sources.jar exists. (You will only see the .aar and the .pom)
Establishing why not is beyond the scope of this question.
Until some-one provides a more satisfactory answer, you may like to try this grubby hack.
Update 21Nov2019:
If your problem relates to ConstraintLayout or MotionLayout please star this known issue.
I use chosen 1.2.0 from nuget. My chosen.css file contains class like .chosen-container, .chosen-container. When i call my dropdownlist class using .chosen() function. Resulted css class will be chzn-container, chzn-container-multi. It causes display ugly. but functionality work. I have no error in browser console.
When i check another sites, both generated markup and chosen.css contains chzn-container, chzn-container-multi classes only.
Nuget adds only css. It is not add chosen.jquery.js. I don't know why.
The Nuget package named simply "chosen" does not, as the OP says, contain the .js.
You need to search for Harvest.Chosen. Hopefully this will help someone in the future.
I am going to use GXT Charts for the first time
I simply get the code from here
http://www.sencha.com/examples/#ExamplePlace:columnchart
My other GXT widgets are working (have added GXT jar and
<inherits name='com.sencha.gxt.ui.GXT'/>)
but This Import is giving error as "undefined"
import com.sencha.gxt.chart.client.chart.Chart;
Error: The import com.sencha.gxt.chart cannot be resolved
do i have to add some additional jar for CHARTS ?
thanks
We have a separate gxt-chart jar in our project
Download and add the jar to your project
http://www.java2s.com/Code/JarDownload/gxt/gxt-chart-3.0.1.jar.zip
I am using route-me MapView for displaying offline map. It works well in the sample. I followed the Embedding guides and added the MapView.XCodeProj to my Xcode project it compiles successfully. But in my viewcontroller if i add RMMapView view as a subview to main view. It gives an error as "RMMapView refrence not found"
Need a bit more information, the exact error output would be helpful, but it sounds like you are missing the libraries. Make sure that libMapView.a has been added to Target->Build Phases->Link Binary With Libraries.
You might want to double check every step of the embedding guides.
Ciao!
-- Randy