2017-09-21 1 views
-2

I get this error occcure when I build sign apk don't know but when I build simple apk these error does not occur,plz help me resolve this.오류 : (48, 13) 오류 : 식

PTAdChartboostBridge.s_activity.get) 
    { 

    PTAdChartboostBridge(new Runnable); 

     { 

      public void run(); 
      { 
       if (PTAdChartboostBridge.appId() == null || PTAdChartboostBridge.appSignature() == null) { 

        Chartboost.startWithAppId(PTAdChartboostBridge.activity, PTAdChartboostBridge.appId(), PTAdChartboostBridge.appSignature()); 
        Chartboost.setLoggingLevel(Level.ALL); 
        Chartboost.setDelegate(delegate); 
        Chartboost.onCreate(PTAdChartboostBridge.activity); 

        initComplete = true; 

        Chartboost.onStart(PTAdChartboostBridge.activity); 
        return; 
       } 

      } 

     } 

error is in this code plzz help??? 
+1

아래로

그러나 올바른 형식이 될 것인가? – dr0i

답변

0

당신은 일을하지 않는 불법 시작은 당신이 무엇을 위해 노력하고 있습니다. 귀하의 형식이 완전히 잘못되었습니다. 나는 당신이 다시 기초를 지킬 것을 제안한다. 라인 (48)이 오류이지만, 어디에 라인 번호가 코드에서를 의미 않도록에서

new Runnable() { 
    @Override 
    public void run() { 
     if (PTAdChartboostBridge.appId() == null || PTAdChartboostBridge.appSignature() == null) { 

      Chartboost.startWithAppId(PTAdChartboostBridge.activity, PTAdChartboostBridge.appId(), PTAdChartboostBridge.appSignature()); 
      Chartboost.setLoggingLevel(Level.ALL); 
      Chartboost.setDelegate(delegate); 
      Chartboost.onCreate(PTAdChartboostBridge.activity); 

      initComplete = true; 

      Chartboost.onStart(PTAdChartboostBridge.activity); 
      return; 
     } 
    } 
} 
+0

안드로이드의 새로운 기능은 더 많은 실수를 바로 잡을 수 있습니다. –