The error I get is that class net.rim.device.api.ui.ScrollView is not found. All I am using in application are some fields:
import net.rim.device.api.ui.container.MainScreen;
import net.rim.device.api.ui.component.BitmapField;
import net.rim.device.api.ui.component.LabelField;
import net.rim.device.api.system.Bitmap;
import net.rim.device.api.ui.Field;
import net.rim.device.api.ui.Color;
import net.rim.device.api.ui.component.EditField;
import net.rim.device.api.ui.component.CheckboxField;
import net.rim.device.api.ui.component.ObjectChoiceField;
import net.rim.device.api.ui.component.ButtonField;
import net.rim.device.api.ui.container.HorizontalFieldManager;
import net.rim.device.api.ui.component.Dialog;
import net.rim.device.api.ui.component.SeparatorField;
import net.rim.device.api.ui.FieldChangeListener;
import net.rim.device.api.ui.Font;
import net.rim.device.api.ui.FontFamily;
import net.rim.device.api.ui.Ui;
You have to compile your application with right version that you have installed on your blackberry device.Similar error that you can look at here
ScrollView was introduced in the 6.0 API and so it is not available on devices running earlier operating systems, such as the 9700 running 5.0.
Compile your application with the 5.0 plugin/JDE and not 6.0.
Related
Luckily in Xcode 10 you can once again create a Playground inside of an Xcode project. I'm able to import my pods but I'd like to import my classes for quick Playground-driven development. My project is called foo but I'm not able to do import foo in the Playground. The playground is located in Foo/foo in the directory structure.
is it possible to import one pod that is equivalent to it's dependencies?
I know I can do it in the Podfile, but what about the actual imports in code?
For example, instead of import SwiftyJSON and import RxSwift, I'd have only import AllMyPods, which is my own pod I created just to aggregate the pods I use.
After upgrading Xcode to 7.3, I just found that some modules are stricken out while importing, like in this screenshot:
But after adding the module (so just pressing enter) everything is fine. What does that mean? The module here is written in Swift and works fine.
This is a bug. We have fixed it in 218010af, which should be included in the Swift 2.2.1 release and is included in the 2016-04-12-a developer snapshot.
The strikethrough occurs if you try to import a module that has already been imported by your file or module:
In this case, I have already imported Foundation (which implicitly imports CoreFoundation), so Xcode is telling you that there is no need to import either module again.
It usually happens when a framework is already imported by any other framework you have already been imported.
For example, UIKit is already imported with Foundation so you don't need to import it manually.
I changed the order of the imports
import Foundation
import UIKit
import LayerKit
import Atlas < red line
import Foundation
import UIKit
import Atlas
import LayerKit
Some notes that may be causing it:
LayerKit importing Atlas even though LayerKit is the lower level API
Atlas is the UI layer
Both were Cocoapod imports
Error appeared when I created an 2nd Schema for App Store/Enteprise
releases and cleaned one and switch to the other.
Deleting Derived
Data didnt clear it.
So tried rearranging them and red line disappeared
After upgrading Xcode to 7.3, I just found that some modules are stricken out while importing, like in this screenshot:
But after adding the module (so just pressing enter) everything is fine. What does that mean? The module here is written in Swift and works fine.
This is a bug. We have fixed it in 218010af, which should be included in the Swift 2.2.1 release and is included in the 2016-04-12-a developer snapshot.
The strikethrough occurs if you try to import a module that has already been imported by your file or module:
In this case, I have already imported Foundation (which implicitly imports CoreFoundation), so Xcode is telling you that there is no need to import either module again.
It usually happens when a framework is already imported by any other framework you have already been imported.
For example, UIKit is already imported with Foundation so you don't need to import it manually.
I changed the order of the imports
import Foundation
import UIKit
import LayerKit
import Atlas < red line
import Foundation
import UIKit
import Atlas
import LayerKit
Some notes that may be causing it:
LayerKit importing Atlas even though LayerKit is the lower level API
Atlas is the UI layer
Both were Cocoapod imports
Error appeared when I created an 2nd Schema for App Store/Enteprise
releases and cleaned one and switch to the other.
Deleting Derived
Data didnt clear it.
So tried rearranging them and red line disappeared
Hi Im trying to import the demo test project from google at http://developer.android.com/training/activity-testing/activity-functional-testing.html, But the following imports can't be resolver
import com.example.android.testingfun.R;
//this are the classes that need to be tested
import com.example.android.testingfun.lesson2.MyFirstTestActivity;
import com.example.android.testingfun.lesson3.ClickFunActivity;
import com.example.android.testingfun.lesson4.LaunchActivity;
import com.example.android.testingfun.lesson4.NextActivity;
import com.example.android.testingfun.lesson5.ReceiverActivity;
import com.example.android.testingfun.lesson5.SenderActivity;
Im importing the project in eclipse. Thanks
ctrl+1 fix fix project, add to build bath