Question

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

Was it helpful?

Solution

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..."

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top