NoClassDefFoundError on an interface, not a class

前端 未结 6 770
-上瘾入骨i
-上瘾入骨i 2020-12-21 00:05

I have an issue with NoClassDefFoundError. I am using interfaces, and no class definition should be available:

package code;
public interface Co         


        
6条回答
  •  不思量自难忘°
    2020-12-21 01:09

    Any Interface must declared inside class.

    public class Calbacks {
        public interface IBaseFragmentInterface {
            void NotifyMainActivity();
        }
    }
    

    *I very long find resolution of this problem, but i find resolution independently by the method of scientific poking

提交回复
热议问题