Noticias

¡Ayuda a la Comunidad GM, haz una donación!

Comunidad Game Maker

Bienvenid@ a la comunidad hispana de Game Maker. Nuestro objetivo es crear videojuegos y dar soporte en castellano de GM. Para mejorar nuestro servicio hemos implantado, como adicion al reglamento general, algunas normas especificas en los subforos más comunes. ¡No olvides informarte antes de participar!.

Mostrar Mensajes

Esta sección te permite ver todos los posts escritos por este usuario. Ten en cuenta que sólo puedes ver los posts escritos en zonas a las que tienes acceso en este momento.


Mensajes - Asterth

Páginas: 1 2
1
Preguntas y respuestas / Re:STATS RPG
« en: Julio 01, 2020, 09:20:09 pm »
Gracias, ¿sabes como hacer que ese calculo de Ataque por Potencia se reste a la variable de la vida del enemigo?

2
Preguntas y respuestas / STATS RPG
« en: Julio 01, 2020, 09:12:40 am »
Ok, voy al punto, trato de hacer estadisticas para mi juego RPG.

Tengo pensado que sea Ataque y Defensa sin ninguna variación.

Tenía pensado que según el stat defensa se sumaran los puntos de vida que me quitaran

e igual con el ataque, según el stat se sumaran puntos de daño.

Aquí mi pregunta, como hago que una variable según su numero se lo sume a otra?

Digamos que el ataque es 15, mi ataque base es de 1, quiero que la variable de ataque se sume a la de ataque base,  ¿alguna idea?

3
Lo que pensé al instante es que cuando se cree el objeto aleatoriamente en la pantalla siempre tenga un codigo step que verifique si tiene espacio libre, evitando que se genere en zonas solidas.

4
Preguntas y respuestas / Hacer que el texto tiemble[Solucionado]
« en: Junio 30, 2020, 05:27:33 am »
Wueno, preguntaba si puedo hacer que el texto tiemble siguendo este código.

draw_text(x,y,"")

5
Gracias Cid UwU

6
Bueno, quiero saber como hago para que se detecte un objeto y que sepa si está arriba, abajo izquierda o derecha.

7
Preguntas y respuestas / Tutorial instalar API 28, funcionando en 2020
« en: Junio 18, 2020, 02:53:39 am »
Bueno, quería preguntar si alguien me puede dar un tutorial detallado de como exportar juegos a android con el API 28 y que este funcionando en 2020.

8
Estoy utilizando Game Maker Studio, y probaré con el java y ya te diré como fue.

Edit: No es java, me pide un archivo llamado Android.support.app

9
Preguntas y respuestas / Re:Organizar unidades juego de estrategia
« en: Junio 17, 2020, 01:32:54 am »
Puedes hacer una variable que te indique cuantas unidades están seleccionadas, según eso la primera que se ponga en tal posición, para ellos solo dales la variable a cada unidad cuando se seleccionen.

10
Te paso el archivo en MEGA que no supe como poner imagenes.

https://mega.nz/file/cMgzHC6S#JFgFoCpbIVj7AGOlR7nxgdDT-1Xqr5bXcEqYDD5iNlA

11
Tengo descargado todo el SDK Manager y me sigue sin dejar.

12
Tengo la versión del build tools adecuada, lo exporto y me pide que instale un archivo en el disco local Z que ni me deja acceder, si alguien fuera tan amable de mandar su archivo SDK con el Compile SDK 28 funcionando se lo agradecería muchisimo, o que me puedan ayudar con el problema.

de hecho, no se tienen que complicar mucho, si me pueden facilitar el archivo 28.0.0 que se encuentra en support-v4 se los agradecería.

13
Ok, primero, yo tenía como target sdk la versión 23 y me tocó cambiarla a la 28, por eso está dando tantos problemas, uso una versión antigua del SDK downloader y las recientes tampoco ayudan, como support lib tengo 28.

14
Fuí al archivo y puse el support-v4, ¿o qué debería de hacer?

15

Observed package id 'extras;amazon;buildtools' in inconsistent location 'D:\Desarrollo\SDK\extras\android\amazon\buildtools' (Expected 'D:\Desarrollo\SDK\extras\amazon\buildtools')
Observed package id 'extras;amazon;kindle_fire_usb_driver' in inconsistent location 'D:\Desarrollo\SDK\extras\android\amazon\kindle_fire_usb_driver' (Expected 'D:\Desarrollo\SDK\extras\amazon\kindle_fire_usb_driver')
Observed package id 'extras;amazon;mapsv2' in inconsistent location 'D:\Desarrollo\SDK\extras\android\amazon\mapsv2' (Expected 'D:\Desarrollo\SDK\extras\amazon\mapsv2')
Incremental java compilation is an incubating feature.
:com.companyname.Test:preBuild UP-TO-DATE
:com.companyname.Test:preReleaseBuild UP-TO-DATE
:com.companyname.Test:checkReleaseManifest
:com.companyname.Test:preDebugBuild UP-TO-DATE
:com.companyname.Test:prepareComAndroidSupportMultidex101Library
:com.companyname.Test:prepareComAndroidSupportSupportV428Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesAds961Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesAdsLite961Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesBase961Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesBasement961Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesClearcut961Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesDrive961Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesGames961Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesGass961Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesGcm961Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesIid961Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesPlus961Library
:com.companyname.Test:prepareComGoogleAndroidGmsPlayServicesTasks961Library
:com.companyname.Test:prepareReleaseDependencies
:com.companyname.Test:compileReleaseAidl
:com.companyname.Test:compileReleaseRenderscript
:com.companyname.Test:generateReleaseBuildConfig
:com.companyname.Test:mergeReleaseShaders
:com.companyname.Test:compileReleaseShaders
:com.companyname.Test:generateReleaseAssets
:com.companyname.Test:mergeReleaseAssets
:com.companyname.Test:generateReleaseResValues
:com.companyname.Test:generateReleaseResources
:com.companyname.Test:mergeReleaseResources
:com.companyname.Test:processArmeabi-v7aReleaseManifest
Z:\com.companyname.Test\src\main\AndroidManifest.xml:35:3-99:17 Warning:
   application@android:label was tagged at AndroidManifest.xml:35 to replace other declarations but no other declaration present
Z:\com.companyname.Test\src\main\AndroidManifest.xml:36:5-44:16 Warning:
   activity#com.companyname.Test.RunnerActivity@android:label was tagged at AndroidManifest.xml:36 to replace other declarations but no other declaration present
:com.companyname.Test:processArmeabi-v7aReleaseResources
:com.companyname.Test:processArmeabiReleaseManifest
Z:\com.companyname.Test\src\main\AndroidManifest.xml:35:3-99:17 Warning:
   application@android:label was tagged at AndroidManifest.xml:35 to replace other declarations but no other declaration present
Z:\com.companyname.Test\src\main\AndroidManifest.xml:36:5-44:16 Warning:
   activity#com.companyname.Test.RunnerActivity@android:label was tagged at AndroidManifest.xml:36 to replace other declarations but no other declaration present
:com.companyname.Test:processArmeabiReleaseResources
:com.companyname.Test:processMipsReleaseManifest
Z:\com.companyname.Test\src\main\AndroidManifest.xml:35:3-99:17 Warning:
   application@android:label was tagged at AndroidManifest.xml:35 to replace other declarations but no other declaration present
Z:\com.companyname.Test\src\main\AndroidManifest.xml:36:5-44:16 Warning:
   activity#com.companyname.Test.RunnerActivity@android:label was tagged at AndroidManifest.xml:36 to replace other declarations but no other declaration present
:com.companyname.Test:processMipsReleaseResources
:com.companyname.Test:processUniversalReleaseManifest
Z:\com.companyname.Test\src\main\AndroidManifest.xml:35:3-99:17 Warning:
   application@android:label was tagged at AndroidManifest.xml:35 to replace other declarations but no other declaration present
Z:\com.companyname.Test\src\main\AndroidManifest.xml:36:5-44:16 Warning:
   activity#com.companyname.Test.RunnerActivity@android:label was tagged at AndroidManifest.xml:36 to replace other declarations but no other declaration present
:com.companyname.Test:processUniversalReleaseResources
:com.companyname.Test:processX86ReleaseManifest
Z:\com.companyname.Test\src\main\AndroidManifest.xml:35:3-99:17 Warning:
   application@android:label was tagged at AndroidManifest.xml:35 to replace other declarations but no other declaration present
Z:\com.companyname.Test\src\main\AndroidManifest.xml:36:5-44:16 Warning:
   activity#com.companyname.Test.RunnerActivity@android:label was tagged at AndroidManifest.xml:36 to replace other declarations but no other declaration present
:com.companyname.Test:processX86ReleaseResources
:com.companyname.Test:generateReleaseSources
:com.companyname.Test:incrementalReleaseJavaCompilationSafeguard
:com.companyname.Test:compileReleaseJavaWithJavac
:com.companyname.Test:compileReleaseJavaWithJavac - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoRenderer.java:51: error: package android.support.v4.content does not exist
import android.support.v4.content.ContextCompat;
                                 ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoRenderer.java:52: error: package android.support.v4.app does not exist
import android.support.v4.app.ActivityCompat;
                             ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GcmBroadcastReceiver.java:7: error: package android.support.v4.content does not exist
import android.support.v4.content.WakefulBroadcastReceiver;
                                 ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GcmBroadcastReceiver.java:19: error: cannot find symbol
public class GcmBroadcastReceiver extends WakefulBroadcastReceiver
                                          ^
  symbol: class WakefulBroadcastReceiver
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GcmPush.java:20: error: package android.support.v4.app does not exist
import android.support.v4.app.NotificationCompat;
                             ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:13: error: package android.support.v4.app does not exist
import android.support.v4.app.FragmentManager;
                             ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:18: error: package android.support.v4.app does not exist
import android.support.v4.app.FragmentActivity;
                             ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:5: error: package android.support.v4.app does not exist
import android.support.v4.app.FragmentActivity;
                             ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:76: error: cannot find symbol
public class RunnerActivity extends FragmentActivity implements SensorEventListener
                                    ^
  symbol: class FragmentActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoGLSurfaceView.java:185: error: incompatible types: Context cannot be converted to RunnerActivity
      if ((m_context != null) && (m_context instanceof RunnerActivity) && (((RunnerActivity)m_context).mYYPrefs != null))
                                  ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoGLSurfaceView.java:185: error: incompatible types: Context cannot be converted to RunnerActivity
      if ((m_context != null) && (m_context instanceof RunnerActivity) && (((RunnerActivity)m_context).mYYPrefs != null))
                                                                                            ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoGLSurfaceView.java:187: error: incompatible types: Context cannot be converted to RunnerActivity
         int allow24BitModes = ((RunnerActivity)m_context).mYYPrefs.getInt("YYUse24Bit");
                                                ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoGLSurfaceView.java:206: error: incompatible types: Context cannot be converted to RunnerActivity
         if (!(m_context instanceof RunnerActivity))
               ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoGLSurfaceView.java:211: error: incompatible types: Context cannot be converted to RunnerActivity
         if (((RunnerActivity)m_context).mYYPrefs == null)
                              ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoGLSurfaceView.java:467: error: incompatible types: Context cannot be converted to RunnerActivity
      if (((RunnerActivity)m_context).mYYPrefs != null)
                           ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoGLSurfaceView.java:471: error: incompatible types: Context cannot be converted to RunnerActivity
         useGL2 = ((RunnerActivity)m_context).mYYPrefs.getBoolean("UseShaders") ? 1 : 0;
                                   ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoRenderer.java:220: error: cannot find symbol
             if(ContextCompat.checkSelfPermission(RunnerActivity.CurrentActivity,Manifest.permission.WRITE_EXTERNAL_STORAGE)!= PackageManager.PERMISSION_GRANTED)
                ^
  symbol:   variable ContextCompat
  location: class DemoRenderer
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoRenderer.java:225: error: cannot find symbol
             if(ContextCompat.checkSelfPermission(RunnerActivity.CurrentActivity,Manifest.permission.READ_EXTERNAL_STORAGE)!= PackageManager.PERMISSION_GRANTED)
                ^
  symbol:   variable ContextCompat
  location: class DemoRenderer
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoRenderer.java:236: error: cannot find symbol
             ActivityCompat.requestPermissions(RunnerActivity.CurrentActivity,perms,RUNNER_STORAGE_PERMISSION_REQUEST);
             ^
  symbol:   variable ActivityCompat
  location: class DemoRenderer
Z:\com.companyname.Test\src\main\java\com\companyname\Test\DemoRenderer.java:465: error: cannot find symbol
                     ApplicationInfo ai = m_context.getPackageManager().getApplicationInfo(RunnerActivity.CurrentActivity.getComponentName().getPackageName(), PackageManager.GET_META_DATA);
                                                                                                                         ^
  symbol:   method getComponentName()
  location: variable CurrentActivity of type RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\Gamepad\Gamepad.java:315: error: cannot find symbol
         if ((RunnerActivity.CurrentActivity.checkCallingOrSelfPermission("android.permission.BLUETOOTH") == PackageManager.PERMISSION_GRANTED))
                                            ^
  symbol:   method checkCallingOrSelfPermission(String)
  location: variable CurrentActivity of type RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GcmBroadcastReceiver.java:21: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GcmBroadcastReceiver.java:31: error: cannot find symbol
        startWakefulService(context, (intent.setComponent(comp)));
        ^
  symbol:   method startWakefulService(Context,Intent)
  location: class GcmBroadcastReceiver
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GcmBroadcastReceiver.java:32: error: cannot find symbol
        setResultCode(Activity.RESULT_OK);
        ^
  symbol:   method setResultCode(int)
  location: class GcmBroadcastReceiver
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GcmIntentService.java:178: error: cannot find symbol
        GcmBroadcastReceiver.completeWakefulIntent(intent);
                            ^
  symbol:   method completeWakefulIntent(Intent)
  location: class GcmBroadcastReceiver
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GcmPush.java:473: error: package NotificationCompat does not exist
         NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context)
                           ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GcmPush.java:476: error: package NotificationCompat does not exist
         .setStyle(new NotificationCompat.BigTextStyle()
                                         ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GcmPush.java:473: error: package NotificationCompat does not exist
         NotificationCompat.Builder mBuilder = new NotificationCompat.Builder(context)
                                                                     ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:96: error: incompatible types: RunnerActivity cannot be converted to Context
      GoogleApiClient.Builder builder = new GoogleApiClient.Builder(RunnerActivity.CurrentActivity);
                                                                                  ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:217: error: incompatible types: RunnerActivity cannot be converted to Activity
        Dialog dialog = GooglePlayServicesUtil.getErrorDialog(errorCode,RunnerActivity.CurrentActivity, requestCode);
                                                                                      ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:245: error: incompatible types: RunnerActivity cannot be converted to Activity
                result.startResolutionForResult(RunnerActivity.CurrentActivity, REQUEST_RESOLVE_ERROR);
                                                              ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:482: error: incompatible types: RunnerActivity cannot be converted to Context
      mGcmPush = new GcmPush( RunnerActivity.CurrentActivity );
                                            ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:843: error: cannot find symbol
            RunnerActivity.CurrentActivity.startActivityForResult(Games.Achievements.getAchievementsIntent(getApiClient()), RC_GPS_ACTIVITY);
                                          ^
  symbol:   method startActivityForResult(Intent,int)
  location: variable CurrentActivity of type RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:846: error: incompatible types: RunnerActivity cannot be converted to Context
            (new AlertDialog.Builder(RunnerActivity.CurrentActivity))
                                                   ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:856: error: cannot find symbol
         RunnerActivity.CurrentActivity.startActivityForResult(Games.Leaderboards.getAllLeaderboardsIntent(getApiClient()), RC_GPS_ACTIVITY);
                                       ^
  symbol:   method startActivityForResult(Intent,int)
  location: variable CurrentActivity of type RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:859: error: incompatible types: RunnerActivity cannot be converted to Context
         (new AlertDialog.Builder(RunnerActivity.CurrentActivity))
                                                ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:912: error: cannot find symbol
               RunnerActivity.CurrentActivity.runOnUiThread(new Runnable() {
                                             ^
  symbol:   method runOnUiThread(<anonymous Runnable>)
  location: variable CurrentActivity of type RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:930: error: incompatible types: RunnerActivity cannot be converted to Context
      interstitialAd = new InterstitialAd(RunnerActivity.CurrentActivity);
                                                        ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:1018: error: cannot find symbol
          AbsoluteLayout layout = (AbsoluteLayout)RunnerActivity.CurrentActivity.findViewById(R.id.ad);
                                                                                ^
  symbol:   method findViewById(int)
  location: variable CurrentActivity of type RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:1033: error: incompatible types: RunnerActivity cannot be converted to Context
         adView = new AdView(RunnerActivity.CurrentActivity);
                                           ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\GooglePlayServicesExtension.java:1084: error: cannot find symbol
            AbsoluteLayout layout = (AbsoluteLayout)RunnerActivity.CurrentActivity.findViewById(R.id.ad);
                                                                                  ^
  symbol:   method findViewById(int)
  location: variable CurrentActivity of type RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\Purchases\IRunnerBilling.java:130: error: cannot find symbol
      SharedPreferences prefs = RunnerActivity.CurrentActivity.getPreferences(Context.MODE_PRIVATE);
                                                              ^
  symbol:   method getPreferences(int)
  location: variable CurrentActivity of type RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:170: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:196: error: cannot find symbol
      return super.onKeyLongPress(keyCode, event);
             ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:233: error: cannot find symbol
          DisplayMetrics dm = getResources().getDisplayMetrics();
                              ^
  symbol:   method getResources()
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:272: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:275: error: cannot find symbol
      this.requestWindowFeature( Window.FEATURE_NO_TITLE );
          ^
  symbol: method requestWindowFeature(int)
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:278: error: cannot find symbol
        super.onCreate(savedInstanceState);
        ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:281: error: incompatible types: RunnerActivity cannot be converted to Context
      RunnerJNILib.Init( this );
                         ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:289: error: cannot find symbol
         m_versionName = this.getPackageManager().getPackageInfo(this.getPackageName(), 0).versionName;
                                                                     ^
  symbol: method getPackageName()
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:289: error: cannot find symbol
         m_versionName = this.getPackageManager().getPackageInfo(this.getPackageName(), 0).versionName;
                             ^
  symbol: method getPackageManager()
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:298: error: cannot find symbol
      switch( getResources().getConfiguration().orientation ) {
              ^
  symbol:   method getResources()
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:298: error: illegal start of type
      switch( getResources().getConfiguration().orientation ) {
            ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:313: error: cannot find symbol
       Display display = getWindowManager().getDefaultDisplay();
                         ^
  symbol:   method getWindowManager()
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:321: error: cannot find symbol
        mSensorManager = (SensorManager)getSystemService(SENSOR_SERVICE);
                                                         ^
  symbol:   variable SENSOR_SERVICE
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:369: error: cannot find symbol
      this.registerReceiver(mReceiver, filter1);
          ^
  symbol: method registerReceiver(BroadcastReceiver,IntentFilter)
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:371: error: cannot find symbol
      this.registerReceiver(mReceiver, filter3);
          ^
  symbol: method registerReceiver(BroadcastReceiver,IntentFilter)
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:375: error: cannot find symbol
       final View decorView = getWindow().getDecorView();
                              ^
  symbol:   method getWindow()
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:398: error: cannot find symbol
         ApplicationInfo ai = getPackageManager().getApplicationInfo(this.getComponentName().getPackageName(), PackageManager.GET_META_DATA);
                                                                         ^
  symbol: method getComponentName()
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:398: error: cannot find symbol
         ApplicationInfo ai = getPackageManager().getApplicationInfo(this.getComponentName().getPackageName(), PackageManager.GET_META_DATA);
                              ^
  symbol:   method getPackageManager()
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:455: error: cannot find symbol
          String packageName = this.getComponentName().getPackageName();
                                   ^
  symbol: method getComponentName()
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:459: error: cannot find symbol
               ApplicationInfo ai = getPackageManager().getApplicationInfo(this.getComponentName().getPackageName(), PackageManager.GET_META_DATA);
                                                                               ^
  symbol: method getComponentName()
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:459: error: cannot find symbol
               ApplicationInfo ai = getPackageManager().getApplicationInfo(this.getComponentName().getPackageName(), PackageManager.GET_META_DATA);
                                    ^
  symbol:   method getPackageManager()
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:471: error: cannot find symbol
               ApplicationInfo ai = getPackageManager().getApplicationInfo(this.getComponentName().getPackageName(), PackageManager.GET_META_DATA);
                                                                               ^
  symbol: method getComponentName()
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:471: error: cannot find symbol
               ApplicationInfo ai = getPackageManager().getApplicationInfo(this.getComponentName().getPackageName(), PackageManager.GET_META_DATA);
                                    ^
  symbol:   method getPackageManager()
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:495: error: cannot find symbol
            ApplicationInfo ai = getPackageManager().getApplicationInfo(this.getComponentName().getPackageName(), PackageManager.GET_META_DATA);
                                                                            ^
  symbol: method getComponentName()
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:495: error: cannot find symbol
            ApplicationInfo ai = getPackageManager().getApplicationInfo(this.getComponentName().getPackageName(), PackageManager.GET_META_DATA);
                                 ^
  symbol:   method getPackageManager()
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:599: error: cannot find symbol
          setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE );
          ^
  symbol:   method setRequestedOrientation(int)
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:603: error: cannot find symbol
          setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_PORTRAIT );
          ^
  symbol:   method setRequestedOrientation(int)
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:607: error: cannot find symbol
          setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE );
          ^
  symbol:   method setRequestedOrientation(int)
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:611: error: cannot find symbol
          setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_REVERSE_PORTRAIT );
          ^
  symbol:   method setRequestedOrientation(int)
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:618: error: cannot find symbol
          setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE );
          ^
  symbol:   method setRequestedOrientation(int)
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:625: error: cannot find symbol
          setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT );
          ^
  symbol:   method setRequestedOrientation(int)
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:628: error: cannot find symbol
          setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED );
          ^
  symbol:   method setRequestedOrientation(int)
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:635: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:639: error: cannot find symbol
        super.onStart();
        ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:667: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:671: error: cannot find symbol
      super.onRestart();
      ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:690: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:709: error: cannot find symbol
        super.onStop();      
        ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:749: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:753: error: cannot find symbol
        super.onDestroy();
        ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:817: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:821: error: cannot find symbol
       super.onWindowFocusChanged(hasFocus);
       ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:889: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:893: error: cannot find symbol
      super.onPause();
      ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:930: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:939: error: cannot find symbol
       super.onResume();      
       ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:991: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:994: error: cannot find symbol
       super.onCreateOptionsMenu( menu );
       ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:1017: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:1037: error: cannot find symbol
         Intent settingsActivity = new Intent( getBaseContext(), RunnerPreferenceActivity.class );
                                               ^
  symbol:   method getBaseContext()
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:1038: error: cannot find symbol
         startActivity( settingsActivity );
         ^
  symbol:   method startActivity(Intent)
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:1041: error: incompatible types: RunnerActivity cannot be converted to Context
          AlertDialog.Builder builder = new AlertDialog.Builder(this);
                                                                ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:1062: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:1102: error: cannot find symbol
              return super.onKeyDown(keyCode, event );     
                     ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:1108: error: method does not override or implement a method from a supertype
    @Override
    ^
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:1131: error: cannot find symbol
           return super.onKeyUp(keyCode, event );     
                  ^
  symbol:   variable super
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:1150: error: cannot find symbol
            WindowManager lWindowManager =  (WindowManager) getSystemService(WINDOW_SERVICE);
                                                                             ^
  symbol:   variable WINDOW_SERVICE
  location: class RunnerActivity
Z:\com.companyname.Test\src\main\java\com\companyname\Test\RunnerActivity.java:1152: error: cannot find symbol
            Configuration cfg = getResources().getConfiguration();
                                ^
  symbol:   method getResources()
  location: class RunnerActivity
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Z:\com.companyname.Test\src\main\java\com\companyname\Test\Gamepad\Gamepad.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
100 errors
:com.companyname.Test:compileReleaseJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':com.companyname.Test:compileReleaseJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Páginas: 1 2