Cannot resolve symbol "log"

+1 Kamran Khan · March 6, 2015
My Android Studio is giving me this error after defining the log symbol for the the changing state activity. Any turnaround?





import android.util.log;


public class MainActivity extends ActionBarActivity {

    private static final String TAG = "KamransMessage";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        log.i(TAG,"onCreate");
    }

Post a Reply

Replies

Oldest  Newest  Rating
0 T P · March 7, 2015
class names start with a capital letter :)
  • 1

Java / Android Development

107,302 followers
About

Very popular language used to create desktop applications, website applets, and Android apps.

Links
Moderators
Bucky Roberts Administrator