Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Cannot be resolved to a type error(Import project issue)
Cannot be resolved to a type error [message #1591502] Thu, 29 January 2015 15:16 Go to next message
CHRISTOPHER LEE is currently offline CHRISTOPHER LEEFriend
Messages: 7
Registered: January 2015
Junior Member
Hi all, i'm new for eclipse and now i facing a problem when i import a project that i had downloaded from internet...the project give me an error with ".... cannot be resolved to a type ". Any expert here know how to solve my problem??? help me pls......

 [size=1]package com.NewApp;

import android.app.Activity;
import zephyr.android.HxMBT.*;

public class MainActivity extends Activity {
    /** Called when the activity is first created. */
	BluetoothAdapter adapter = null;
	BTClient _bt;
	ZephyrProtocol _protocol;
	NewConnectedListener _NConnListener;
	private final int HEART_RATE = 0x100;
	private final int INSTANT_SPEED = 0x101;
 


for example coding above, it give me the error with:
BTClient cannot be resolved to a type
ZephyrProtocol cannot be resolved to a type

and many many so on.....so how to i solve the problem??
any1 face this problem too???
Re: Cannot be resolved to a type error [message #1591510 is a reply to message #1591502] Thu, 29 January 2015 15:23 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Do you know what a "dependency" is?
Re: Cannot be resolved to a type error [message #1591524 is a reply to message #1591510] Thu, 29 January 2015 15:30 Go to previous message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Also, seeing references to android.app.Activity, please do read https://www.eclipse.org/forums/index.php/t/225513/
Previous Topic:Software Updates Fail with HTTP Response Code (302)
Next Topic:eclipse R.JAVA not generate
Goto Forum:
  


Current Time: Thu Apr 25 07:38:46 GMT 2024

Powered by FUDForum. Page generated in 0.03034 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top