Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:326: cannot find symbol
  2.  
  3. symbol : class Button
  4.  
  5. location: class android.net.wifi.p2p.WifiP2pService
  6.  
  7. Button btnWiFi = (Button)findViewById(R.id.btnWiFi);
  8.  
  9. ^
  10.  
  11. frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:326: cannot find symbol
  12.  
  13. symbol : variable btnWiFi
  14.  
  15. location: class com.android.internal.R.id
  16.  
  17. Button btnWiFi = (Button)findViewById(R.id.btnWiFi);
  18.  
  19. ^
  20.  
  21. frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:328: <anonymous android.net.wifi.p2p.WifiP2pService$1> is not abstract and does not override abstract method onClick(android.content.DialogInterface,int) in android.content.DialogInterface.OnClickListener
  22.  
  23. btnWiFi.setOnClickListener(new OnClickListener() {
  24.  
  25. ^
  26.  
  27. frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:334: cannot find symbol
  28.  
  29. symbol: method getSystemService(java.lang.String)
  30.  
  31. WifiManager wifi =(WifiManager)getSystemService(Context.WIFI_SERVICE);
  32.  
  33. ^
  34.  
  35. frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:337: cannot find symbol
  36.  
  37. symbol: method getBaseContext()
  38.  
  39. Toast.makeText(getBaseContext(), "WiFi is Enabled", Toast.LENGTH_LONG).show();
  40.  
  41. ^
  42.  
  43. frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:337: cannot find symbol
  44.  
  45. symbol: variable Toast
  46.  
  47. Toast.makeText(getBaseContext(), "WiFi is Enabled", Toast.LENGTH_LONG).show();
  48.  
  49. ^
  50.  
  51. frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:337: cannot find symbol
  52.  
  53. symbol: variable Toast
  54.  
  55. Toast.makeText(getBaseContext(), "WiFi is Enabled", Toast.LENGTH_LONG).show();
  56.  
  57. ^
  58.  
  59. frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:343: cannot find symbol
  60.  
  61. symbol: class MainActivity
  62.  
  63. AlertDialog builder = new AlertDialog.Builder(MainActivity.this).create();
  64.  
  65. ^
  66.  
  67. frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:346: cannot find symbol
  68.  
  69. symbol : variable caution
  70.  
  71. location: class com.android.internal.R.drawable
  72.  
  73. builder.setIcon(R.drawable.caution);
  74.  
  75. ^
  76.  
  77. frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:350: cannot find symbol
  78.  
  79. symbol: method getSystemService(java.lang.String)
  80.  
  81. final WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
  82.  
  83. ^
  84.  
  85. frameworks/base/wifi/java/android/net/wifi/p2p/WifiP2pService.java:331: method does not override or implement a method from a supertype
  86.  
  87. @Override
  88.  
  89. ^
  90.  
  91. Note: Some input files use or override a deprecated API.
  92.  
  93. Note: Recompile with -Xlint:deprecation for details.
  94.  
  95. Note: Some input files use unchecked or unsafe operations.
  96.  
  97. Note: Recompile with -Xlint:unchecked for details.
  98.  
  99. 12 errors
  100.  
  101. 19 warnings
  102.  
  103. make: *** [out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/classes-full-debug.jar] Error 41