Domanda

My app works fine when not exporting signed application. However, it starts getting lint problem when exporting signed application. I don't think modifying facebook source code is a good idea, but does anyone know why I get the lint errors below?

enter image description here enter image description here enter image description here enter image description here enter image description here

È stato utile?

Soluzione

My guess is that FacebookFragment class should a have a public default constructor and there isn't in FacebookFragment.

They should have probably added:

class FacebookFragment extends Fragment{
   public FacebookFragment(){}
}

I suggest you simply disable lint from aborting your export. You can disable it in Window->Preferences->Android->Lint Error Checking and uncheck "Run full error..."

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top