title: Incompatible types. Required java.util.List<Object> found java.util.List<Integer>
body: <p>I need to use a List of Lists for an Android project in Android Studio, but anytime y try to declare one I get this error highlighted. I have tried to make a cast, I tried to use generics and almost everything,but every time I get this error highlighted. 
  Here's an example of one type of code that sends this error:</p>
  
  <pre><code>List&lt;List&lt;Object&gt;&gt; p = Arrays.asList(
                  Arrays.asList(1,2,3)
          );
  </code></pre>
  
  <p>The weirdest thing is that in IntelliJ this code works perfectly fine. So, I would like to know how to correct this problem.</p>