android studio> error: cannot find symbol variable Bdisplay

FROM GRADLE BUILD
Information:Gradle tasks [:app:assembleDebug]
:app:preBuild UP-TO-DATE
:app:preDebugBuild UP-TO-DATE
:app:checkDebugManifest
:app:preReleaseBuild UP-TO-DATE
:app:prepareComAndroidSupportAppcompatV72211Library UP-TO-DATE
:app:prepareComAndroidSupportSupportV42211Library UP-TO-DATE
:app:prepareDebugDependencies
:app:compileDebugAidl UP-TO-DATE
:app:compileDebugRenderscript UP-TO-DATE
:app:generateDebugBuildConfig UP-TO-DATE
:app:generateDebugAssets UP-TO-DATE
:app:mergeDebugAssets UP-TO-DATE
:app:generateDebugResValues UP-TO-DATE
:app:generateDebugResources UP-TO-DATE
:app:mergeDebugResources
:app:processDebugManifest
:app:processDebugResources
:app:generateDebugSources
:app:processDebugJavaRes UP-TO-DATE
:app:compileDebugJava
C:UsersGrellyAndroidStudioProjectsMyApplication4appsrcmainjavacomexamplegrellymyapplicationMainActivity.java
Error:(27, 29) error: cannot find symbol variable Bdisplay
Note: C:UsersGrellyAndroidStudioProjectsMyApplication4appsrcmainjavacomexamplegrellymyapplicationMainActivity.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Error:Execution failed for task ‘:app:compileDebugJava’.

Compilation failed; see the compiler error output for details.
Information:BUILD FAILED
Information:Total time: 12.282 secs
Information:2 errors
Information:0 warnings
Information:See complete output in console

— im tryin to create an app that will ope a new activity as simply as that , and i found a tutorial but i got this error i dont know y? i copied all he typed but nothings changed. i watched it a lot more times, but nothing happen. please help me guys to fix this stuff. **Godbless

Source: New Questions

Leave a Reply